Error in autoptimize plugin
-
/wp-content/cache/autoptimize/js/autoptimize_eddce4f9788afb… · 371.4 KiB (29%)
getting this error in page insights, can you guys help in fixing this.
Thanks & Regards
Anirudh
-
Hey Anirudh;
What error/ recommendation is GPSI listing there exactly?best,
frankhave installed lite speed and autoptimize plugin
is it okie to installed both
depends on your configuration really; make sure settings don’t result in overlapping optimizations (e.g. make sure only one plugin does CSS an JS optimization or lazyload or …).
have uninstalled the lite speed plugin and my speed increased from 58% to 70%
Total Blocking Time 710 ms
How long people had to wait after the page loaded before they could click somethinghave got this error in page speed insights
can you help in reducing the time blocking time
Well, when you click on that recommendation, what is listed as being blocking?
Reduce unused CSS
Consider reducing, or switching, the number of WordPress plugins loading unused CSS in your page. To identify plugins that are adding extraneous CSS, try running code coverage in Chrome DevTools. You can identify the theme/plugin responsible from the URL of the stylesheet. Look out for plugins that have many stylesheets in the list which have a lot of red in code coverage. A plugin should only enqueue a stylesheet if it is actually used on the page.
Getting this error in Page insights
can you help for the same
The unused CSS is being reported as being Autoptimize’s, but AO merely aggregates and minifies all the CSS provided by your theme & plugins and does not know which CSS is used or not used and hance cannot remove anything.
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 helps,
frankReduce initial server response time
Themes, plugins, and server specifications all contribute to server response time. Consider finding a more optimized theme, carefully selecting an optimization plugin, and/or upgrading your server.
Reduce unused JavaScript
Consider reducing, or switching, the number of WordPress plugins loading unused JavaScript in your page. To identify plugins that are adding extraneous JS, try running code coverage in Chrome DevTools. You can identify the theme/plugin responsible from the URL of the script. Look out for plugins that have many scripts in the list which have a lot of red in code coverage. A plugin should only enqueue a script if it is actually used on the page.
Eliminate render-blocking resources
There are a number of WordPress plugins that can help you inline critical assets or defer less important resources. Beware that optimizations provided by these plugins may break features of your theme or plugins, so you will likely need to make code changes.
What about these errors ?
server response time: make sure you have page caching (plugin or server-level or 3rd party)
unused JS; same as CSS really, AO simply combines the JS added by WordPress, theme & plugins and has no way to know what is used and what is not.
render-blocking resources: for render-blocking CSS look into the “Eliminate render-blocking CSS?” option (see AO FAQ entries about “inline & defer CSS”), for JS consider using “don’t aggregate but defer” and “also defer inline JS” options.
can you help with the steps… Then its helpful as i am not a tech guy.
Thanks & Regards
Anirudh
well, taking one thing at a time; do you have page caching? if not, does your host offer that (ask them)? if they do not you could install e.g. “keycdn cache enabler” or “wp super cache”.
have installed wp plugin
“wp super cache”? OK, now retest on GPSI to see if “server response time” is still an issue?
The topic ‘Error in autoptimize plugin’ is closed to new replies.