• Resolved Saskia

    (@jyria)


    PageSpeed Results

    Hey all!

    After installing the Plugin, I finally receive better PageSpeed-Results than usually.

    However somehow the deflate/gzip compression doesn’t work for the autoptimize generated files.
    Why is that?

    Gzip/deflate ist activated and can be seen when checking my page with Firebug or the built-in console in Chrome.

    Any advice is greatly appreciated.

    Thanks in advance!

    https://wordpress.org/plugins/autoptimize/

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

    (@futtta)

    Hi Jyria;
    The easiest solution would be to disable static delivery (option “Save aggregated script/css as static files?”). This will result in Autoptimize switching to PHP-files to deliver CSS/JS the most optimal way (including caching headers & compression).

    hope this helps,
    frank

    Thread Starter Saskia

    (@jyria)

    Thanks, Frank!

    This helped!

    However I do have another question and maybe you can help me out here,too:

    “Yslow” suggests to use CDN. I’d like to use my own subdomain for that. How would I best set this up with Autoptimize in combination with WP Super Cache?

    Any advice is greatly appreciated as well!

    Hugs
    Jyria

    Plugin Author Frank Goossens

    (@futtta)

    Main thing is to set CDN up in WP Super Cache (as that is used for e.g. images as well). If you configure it in Autoptimize, it will only change URL for aggregated CSS/JS + references to background images in the CSS (which WP Super Cache does not do).

    pathuri

    (@pathuri)

    Is it possible to give full path for a css file to be excluded?
    The reason is, some plugins do use simply ‘style.css’ for their css.
    and specifying ‘style.css’ will disable css of all those plugins.
    Or format like plugin:cssfile might be a good idea?

    Plugin Author Frank Goossens

    (@futtta)

    see that other thread 🙂

    Hi,
    Pagespeed has asked me to compress autoptimize_<heap of numbers and letters>.js
    I disabled static delivery (option “Save aggregated script/css as static files?”) as recommended above and it fixed the Pagespeed problem.
    However now every time I goto my site it pops up with a window asking to login. I tried on a few pc with different IP address and it still comes up even when logged out of admin. When enabling static delivery again the login problem goes away but Pagespeed is asking for compression again.
    Im using Autoptimize along with WP Super Cache
    Any ideas guys?

    Plugin Author Frank Goossens

    (@futtta)

    compression, if delivery is static, should be configured at the webserver level.

    the fact that you’re asked for a login with dynamic delivery is something I haven’t seen yet. is the popup a browser popup (basic authentication) or a typical wordpress login screen? my suspision is you have something … out of the ordinary in a .htaccess-file somewhere.

    hope this helps,
    frank

    Its a a browser popup (basic authentication). I’m using All In One WP Security plugin that has added a fair bit of stuff to the .htaccess file. Maybe something playing up with that. I’ve got no idea where to start looking unfortunately.

    Plugin Author Frank Goossens

    (@futtta)

    Better check with the “All in One WP Security”-guys in that case, I’m not familiar with that plugin I’m afraid.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Google PageSpeed Insights: autoptimize files not compressed?’ is closed to new replies.