First and foremost try to identify what is breaking things by just disabling CSS or JS or HTML or Image optimization (incl. lazyload). Based on that we can see what the next steps need to be π
frank
Hi Frank,
thanks so much for your prompt reply.
So disabling the “Optimize JavaScript Code?” helps.
What do I do next?
Thanks a lot!
Victoria
OK, can you try disabling “aggregate JS” and instead tick “don’t aggregate but defer” + “also defer inline JS” + removing the default JS optimization exclusions?
ok, so I also played with “Aggregate JS-files?
Aggregate all linked JS-files to have them loaded non-render blocking?” option. Turned it off and plugins are working just fine but the pagespeed score is horrible:(((
Turned on “Do not aggregate but defer?” but it did not improve the pagespeed score:((
Any suggestions?
Thanks!
-
This reply was modified 4 years, 2 months ago by
Svictoria.
our answers crossed somewhere on the www-pipes, can you try the suggestion from my previous reply? π
yes, just tried:)
Optimize JavaScript Code? - ON
Aggregate JS-files? - OFF
Aggregate all linked JS-files to have them loaded non-render blocking?
Do not aggregate but defer? - ON
Individual JS-files will be minified and deferred, making them non-render-blocking.
βAlso defer inline JS? - ON
Also defer inline JS. Generally this will allow all JS to be deferred, so you should remove default exclusions, test and only exclude specific items if still needed.
Exclude scripts from Autoptimize: - REMOVED ALL EXCLUSIONS
A comma-separated list of scripts you do not want optimized, for example 'whatever.js, my_var' (without the quotes). Important: when "aggregate JS-files" is on, excluded non-minified files are still minified by Autoptimize unless that option under "misc" is disabled.
Remove Unused JavaScript? Autoptimize combines your theme & plugins' JavaScript, but does not know what is used and what not. If Google Pagespeed Insights detects unused JavaScript, consider using a plugin like "Plugin Organizer" or similar to manage what JavaScript is added where.
Website is working great but pagespeed score is horrible:)))
horrible = significantly worse then before? can you share your site’s URL, I’ll have a look at pagespeed to see what it is reporting ..
it was around 70, now it is at 2:)))
It there any private way to pass that info to you?
Thanks a lot!
sure; you can mail me at futtta-at-gmail-dot-com. 18h46 here now, so I might not follow up immediately any more though .. π
just sent, thanks so much!
got it. as this is not the production-version and I assume it’s not problem if things are broken, can you switch back to the original configuration so I can compare?
peace,
frank
done. the only thing is, I don’t have now any exceptions in:
“Exclude scripts from Autoptimize:” box. But I assume it is not a big deal?
Thanks!
but “aggregate JS” is still of now, no?
no, it is on. can you please recheck? Maybe it did not save. I double-checked now and it is on.
no, still don’t see aggregated JS in the HTML source (which is why you indeed have a higher score, not having any linked JS yields way better pagespeed scores, as JS not only has to downloaded but also parsed and executed, which has a big perf. impact on mobile).
do you see any errors in the PHP error logfile?
(i’m off to bed now, more tomorrow)
-
This reply was modified 4 years, 2 months ago by
Optimizing Matters. Reason: saying goodnight ;-)