Hey AmDev1;
1. I don’t see browser errors on the console, does GPSI specify anything?
2. passive listeners are not autoptimize’s thing, those will be used by one of the original JS-files AO combined
3. The unused CSS is being reported as being Autoptimize’s, but AO merely aggregates all the CSS provided by your theme & plugins, so if you (really) want to tackle “remove unused CSS” 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). Moreover the unused CSS will likely be different for different pages (or parts of your site), so that would lead to different autoptimized CSS-files being loaded on different pages.
hope this clarifies,
frank
Thread Starter
AmDev1
(@amdev1)
ah “jQuery is not defined”, in that case you’ll have to exclude jquery (plugins/jquery-updater/) from JS optimization.
Thread Starter
AmDev1
(@amdev1)
Ok thanks
So the question is which error is better?
Includes front-end JavaScript libraries with known security vulnerabilities (which I get when I switch off the jquery updater) or browser errors on the console.
What do you think?
Regards
Angela
Thread Starter
AmDev1
(@amdev1)
Ignore me – that was a daft question. I’ve resolved it as you suggested. Thank you!
Angela
no worries 🙂
but re “Includes front-end JavaScript libraries with known security vulnerabilities”; the wordpress.org actually backport security fixes, so there _should_ not be security vulns. 🙂
Thread Starter
AmDev1
(@amdev1)
Good to know – thank you again