LCP spent too long time #20464
Replies: 3 comments 1 reply
-
Keep in mind that a single test isn't enough to determine the exact score, as the score can vary from to test to test. You should also make sure to run the tests in Incognito mode, so that no extensions hurt your score. Extensions like React Dev Tools, Web Vitals, etc will hurt your score because Lighthouse thinks the script files come from your website. Here's the results from the Lighthouse audit I ran just now: Edit: The Edit 2: The above were for desktop, here are for mobile. Not perfect but I'm sure there's room for improvement. You can certainly get perfect score using Next.js, I'd look into the warnings Lighthouse gives you and try to identify the issues. |
Beta Was this translation helpful? Give feedback.
-
I have the same issue as you and I'm trying hard to find solutions There is a huge problem with rehydration and the way scripts are loaded by nextjs Here are my issues with some response on how to improve your perf: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I was recently build my site with nextjs and when I deployed it in vercel and tested it with pageSpeed, I found that the LCP was very high.
So I tested nextjs.org with pageSpeed and found that the LCP was just as high in the lab.
Can anyone tell me what could be the cause of this result? Is it a problem with nextjs? Or is it a Google PageSpeed problem?
Beta Was this translation helpful? Give feedback.
All reactions