interesting … will look into this 🙂
it seems as though google rolled their recent changes back, scores are back to where they were before the weekend?
Thread Starter
Pratham
(@pratham2003)
I believe it was an issue CloudFlare or PageSpeed insights itself?
Do you have any reference to announcement or change log that PageSpeed insights had made any changes? Please share.
CloudFlare issue is less likely because 3 of the client websites I tested, 2 are on CloudFlare but 3rd one is not on CloudFlare or other CDN but their scores were impacted too.
I noticed the CSS file was shown larger for one client (non-gzip). See the screenshot I had shared earlier.
View post on imgur.com
I had tested this and the file was being gzipped properly.
Scores are back to normal today but the defer unused CSS issue persists.
Their (pagespeed’s) idea behind this is if you don’t require certain CSS to render a page, defer it. If it’s required to render above the fold content, preload it.
Critical CSS in HTML + Deferred loading CSS in the way I shared on stackoverflow solves both issues and also addresses your concern about ‘if a visitor scrolls down below the fold, we should load the CSS ASAP’.
Their (pagespeed’s) idea behind this is if you don’t require certain CSS to render a page, defer it. If it’s required to render above the fold content, preload it.
Critical CSS in HTML + Deferred loading CSS in the way I shared on stackoverflow solves both issues and also addresses your concern about ‘if a visitor scrolls down below the fold, we should load the CSS ASAP’.
correct, but I’d like this to be addressed in Filamentsgroup loadCSS (which AO uses and which Google mentions themselves). I updated an issue I created there back in Nov, feel free to chime in! 🙂