Viewing 1 replies (of 1 total)
  • Plugin Author Frank Goossens

    (@futtta)

    Evening Jan;
    I had a quick look at the JS and the code is minified. Google however, indeed thinks it could sqeeuze some more bytes out of it;

    Minifying https://www.europarc-deutschland.de/…mize_ddb1601bf7a79f51bd1b9aebbd60289b.js could save 558B (2% reduction) after compression.

    The primary reason for this is that JSmin, the JS minifier used in AO, does not remove “important comments”, which are typically used to hold licensing information, e.g. (from your JS):

    /*!
     * jQuery Form Plugin
     * version: 3.51.0-2014.06.20
     * Requires jQuery v1.5 or later
     * Copyright (c) 2014 M. Alsup
     * Examples and documentation at: https://malsup.com/jquery/form/
     * Project repository: https://github.com/malsup/form
     * Dual licensed under the MIT and GPL licenses.
     * https://github.com/malsup/form#copyright-and-license
     */

    Although one could use AO’s API to remove these as well, the gains would be minimal (half a kilobyte, in your case) and from a licensing point of view the comments should, in fact, remain in place.

    Hope this clarifies,
    frank

Viewing 1 replies (of 1 total)
  • The topic ‘Uncompressed static js files – Google Page Speed complains but autoptimize is o’ is closed to new replies.