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

perf(components): optimize for LCP #227

Closed
dargmuesli opened this issue Aug 15, 2024 Discussed in #225 · 0 comments · Fixed by #226
Closed

perf(components): optimize for LCP #227

dargmuesli opened this issue Aug 15, 2024 Discussed in #225 · 0 comments · Fixed by #226
Assignees
Labels
enhancement New feature or request

Comments

@dargmuesli
Copy link
Owner

Discussed in #225

Originally posted by urbgimtam August 14, 2024
When testing in LightHouse / pagespeedinsights in anonymous mode, there is a LCP penalty that seems tied to the Nuxt Cookie-Control banner. It displays the banner as the culprit, even in desktop.

image

This seems to happen because of all the javascript work required to check if there is a previous cookie for cookie-control, and the whole setup to be displayed, which is fine.

My question: is this just happening to me, or is this something that others are experiencing?
If so, what can be done to mitigate it?

(thanks for a great module, I really enjoy it)

@dargmuesli dargmuesli added the enhancement New feature or request label Aug 15, 2024
@dargmuesli dargmuesli self-assigned this Aug 15, 2024
@dargmuesli dargmuesli linked a pull request Aug 15, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant