Viewing 15 replies - 1 through 15 (of 15 total)
  • Thanks Frank, this is awesome. Going to test it now.

    *note: download link above repeats its self.

    Plugin Author Frank Goossens

    (@futtta)

    indeed, download link should be https://downloads.www.ads-software.com/plugin/autoptimize.zip , thanks for the tip ??

    frank

    Ramanan

    (@superpoincare)

    Hi Frank,

    I have a feature request for post 2.0.0: precompressed css/js files. This can be done in Apache:

    <IfModule mod_headers.c>
        # Serve gzip compressed CSS files if they exist
        # and the client accepts gzip.
        RewriteCond "%{HTTP:Accept-encoding}" "gzip"
        RewriteCond "%{REQUEST_FILENAME}\.gz" -s
        RewriteRule "^(.*)\.css" "$1\.css\.gz" [QSA]
    
        # Serve gzip compressed JS files if they exist
        # and the client accepts gzip.
        RewriteCond "%{HTTP:Accept-encoding}" "gzip"
        RewriteCond "%{REQUEST_FILENAME}\.gz" -s
        RewriteRule "^(.*)\.js" "$1\.js\.gz" [QSA]
    
        # Serve correct content types, and prevent mod_deflate double gzip.
        RewriteRule "\.css\.gz$" "-" [T=text/css,E=no-gzip:1]
        RewriteRule "\.js\.gz$" "-" [T=text/javascript,E=no-gzip:1]
    
        <FilesMatch "(\.js\.gz|\.css\.gz)$">
          # Serve correct encoding type.
          Header append Content-Encoding gzip
    
          # Force proxies to cache gzipped &
          # non-gzipped css/js files separately.
          Header append Vary Accept-Encoding
        </FilesMatch>
    </IfModule>

    https://httpd.apache.org/docs/2.4/mod/mod_deflate.html

    What do you think?

    Plugin Author Frank Goossens

    (@futtta)

    that is on my list of possible future improvements, but as I hope to ship AO 2.0 sooner rather then later, I’m not adding new features at this stage any more ??

    frank

    Ramanan

    (@superpoincare)

    Yeah understood. That’s why I said post 2.0.0.

    Cheers!.

    Plugin Author Frank Goossens

    (@futtta)

    That’s why I said post 2.0.0.

    OK, going to have to clean those greasy glasses of mine … B-)

    FYI: I think the most urgent new feature of post-AO2.0 would be “minify but not aggregate” for best HTTP/2 optimization. might prove a hard nut to crack, as AO is built to aggregate first and minify second. But that’s for next year ??

    Ramanan

    (@superpoincare)

    Yeah must be challenging but fun too.

    Doesn’t that call for pregzipping?

    Right now, it doesn’t matter much because the deferred css is loaded late so precompressing doesn’t matter too much as the main speed advantage is via inlining critical css which could be precompressed inside a cached HTML.

    So the first thing Autoptimize might do is to push the above the fold css file with the HTML instead of inlining it and need precompressing ?? ?

    Just thinking out loud.

    Plugin Author Frank Goossens

    (@futtta)

    fyi: the beta has just been sync’ed with the version on GitHub.

    Changes:
    1. fix for inline CSS not being aggregated when that option is active
    2. fix for some background images with data-uri’s sttill being sent through the cdn-ing routine
    3. fix for language-files not being loaded
    4. updated language files for multiple languages

    Hey Frank,
    Autoptimize is my favorite WP plugin.
    I am happy that you still working on it.

    thanks
    Jochen

    FYI: I think the most urgent new feature of post-AO2.0 would be “minify but not aggregate” for best HTTP/2 optimization.

    Not so fast, mate… ??

    Prediction: We will all be quite surprised just how little HTTP/2 changes the efficacy of traditional performance optimization techniques. In essence, HTTP/2 improves the performance of…well.. performance!

    Be well,
    AJ

    Plugin Author Frank Goossens

    (@futtta)

    great feedback AJ! the mantra is and has to be testing-testing-testing. that being said, AO allowing a user to do both (aggregate & minify VS just minify) would leave the ultimate choice to the user, after (s)he hopefully tested ??

    frank

    Absolutely, yes. ??

    Now, to get users to test with the right tool(s) lol. A truly Sisyphean task.

    AJ

    Plugin Author Frank Goossens

    (@futtta)

    Been thinking about this some more, I think (but testing needed ?? ) that the ideal setup should probably do aggregation+minification of all common code (i.e. JS/ CSS that is used on (almost) every page on a site) and only minifies all non-common code. So those whitelist-filters might become _very_ important ??

    frank

    Plugin Author Frank Goossens

    (@futtta)

    updated the beta-version again:
    * new FR translations
    * fixed a nasty bug affecting e.g. jquery-validation.min.js getting broken

    frank

    Plugin Author Frank Goossens

    (@futtta)

    again small update, this time with a fix in cssmin to avoid

    flex: 1 1 auto
    becoming
    flex: 1 1auto

    as reported by Jonathan Sulo.

    If all goes well, AO 2.0 could get released between Christmas & New Years. Except if any of you find some major regressions compared to 1.9.4, that is.

    frank

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Bringing AO 2.0 (beta) to a Christmas-tree near you!’ is closed to new replies.