Support » Plugin: Autoptimize » The basics

  • Resolved Paul Skip Brown


    Hi I’ve read the FAQs and also through some of the comments on here. Can I clarify a couple of things as an amateur blogger.

    I use a few plugins many having their own JS files and CSS files so I can see much benefit in this but am very worried about ‘under the bonnet’ plugins just because I would need a mechanic to fix it. So…

    1. If the site breaks will disabling the plugin return everything to normal? I suspect troubleshooting problems would be beyond me.

    2. With that in mind do you have some ‘safe’ recommended settings?

    3. I use Jetpack and its Photon CDN which I know is probably far from the best CDN but it does serve my images (and nothing else) from elsewhere which is great. Would this need incorporating somehow within the settings?

    4. If I want to edit CSS / JS files, whilst I retain copies locally are the non-minified files still stored on the server? If a plugin gets updated does the minification automatically reflect updated scripts?

    I apologise for these basic questions but just looking for a little guidance to minimise risk – or maybe I’m taking too much on and this is aimed at more advanced users. If you wish you can see my home page and will note a good number of CSS / JS scripts.

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


    1. as soon as you disalbe (or remove) autoptimize, everything should indeed return to normal
    2. go for “optimize HTML” first, then add “optimize CSS”, in general those don’t wreak too much havoc. “optimize JS” is another issue, but that’s where the biggest gain is to be found. given the fact there’s jquery on your site, start with “force scripts in head”. if that doesn’t work, you can try excluding jquery-min.js (and some other jquery-stuff), but that will be trial and error.
    3. you can (but don’t have to) add the photon cdn URL in autoptimize. this will force your js & css to be loaded from there as well.
    4. the non-aggregated & -minified css (and js) is still where is was, and can indeed be changed there. upon a change of those files, the autoptimize css/ js will get updated (normally automatically, in some circumstances you might need to flush the cache).

    hope this helps,

    Thank you Frank. That is really great guidance. I’ll try to pluck up the courage to try this out later today :). Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘The basics’ is closed to new replies.