Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page speed insights CLS time on desktop get increased after resolving render blocking errors #336

Open
AkashdeepSaini0 opened this issue Jan 11, 2022 · 1 comment

Comments

@AkashdeepSaini0
Copy link

After generating critical css using penthouse and defering css files , render blocking errors get resolved on google page speed insights but the cumulative layout shift on desktop get increased from .13 to 1.2.

@pocketjoso
Copy link
Owner

This is site specific - it depends on your site. Have you seen what elements on your page it is that are shifting the layout? The most common reason would be because some of your page content is only shown when JavaScript loads. Thanks to critical css you are now showing your page content earlier, but because of the JS problem, it's not he full page. The issue could also be happening because the critical css is missing some styles, but this is rare. If it's the case though I would be interested to get a reproducible case, to investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants