re. blocking resources: for the AO’ed CSS look into “inline & defer” (more info in the AO FAQ). for jQuery you can try to remove js/jquery/jquery.js from AO’s JS optimization exclusions, after which you’ll have to test your site thoroughly to make sure all still works (if not just roll-back your change).
re. unused CSS/ JS: The unused CSS/JS is being reported as being Autoptimize’s, but AO merely aggregates all the CSS/ JS provided by your theme & plugins, so if you (really) want to tackle “remove unused CSS/JS” then you should look into your theme & plugins (you might be able to get some improvement using e.g. “plugin organizer” to only allow plugins to work on specific pages).
There however is a new premium service that can remove unused CSS that could help. For more info see the Rapidload entry on Autoptimize’s “Optimize More” tab.
hope this clarifies,
frank
Hey Frank,
Alrighty, I have tried a lot of things and everything broke my website.
inline & defer css made my website look strange for a sec when navigating from site to site. I put critical css in the relevant box, but it disappears after saving. Don’t know why.
Excluding js.jquery.min works, but doesn’t help much.
And all the unused css/js isn’t really unused. I have tried a plugin to remove unused css/js and it broke my mobile website completely. So yeah, sadly, nothing helps.
Still thanks and good plugin, but I don’t understand why pagespeed says that autoptimize cache css is responsible for all the speed loss. In this regard, autoptimize is not very helpful. In fact, it makes it harder for me to understand what is wrong.
mausanel
Still thanks and good plugin, but I don’t understand why pagespeed says that autoptimize cache css is responsible for all the speed loss.
that’s because Autoptimize combines all the theme & plugin CSS in one file, so if there are performance issues with one or more of the original files, these all end up in the Autoptimized CSS.
In this regard, autoptimize is not very helpful. In fact, it makes it harder for me to understand what is wrong.
well, when doing performance tuning you could add always ?ao_noptimize=1 to the URL to load the page without Autoptimize 🙂
Good to know. I have deactivated the plugin to see what else I can find.
Thanks for all the help.
mausanel