Help with understanding LCP metrics
See original GitHub issueHi 👋
We are facing with large LCP metrics on www.powerthesaurus.org
. And we even can’t get why does this happen.
According to the trace that I see in the Lighthouse report, almost all the content is shown right after page load (especially the main content). But LCP is postponed far away.
Profile-20200608T190653.json.zip
Can you give us a bit of advice from where to start?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Largest Contentful Paint (LCP) - web.dev
The Largest Contentful Paint (LCP) metric reports the render time of the largest image or text block visible within the viewport, relative to ......
Read more >What Is Largest Contentful Paint: An Easy Explanation
LCP is an easy metric to understand because all you have to do is look at your webpage and determine what the largest...
Read more >Largest Contentful Paint (LCP): what it is and how to improve it
Largest Contentful Paint is the metric that allows you to measure the loading time of the largest visual element of a site.
Read more >How to measure and optimize Largest Contentful Paint (LCP)
LCP or Largest Contentful Paint is a new web performance and user experience metric. It aims to reflect the loading performance of a...
Read more >Largest Contentful Paint: What It Is and How to Improve It
One of the most popular tools to measure the LCP is Google's PageSpeed Insights. It is a free tool that helps users analyze...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Glad you found the issue!
That appears to legitimately be the largest text node on the page and there are no large images.
If there are no further problems, I’m going to go ahead and close this out but feel free to come back if you believe there’s something Lighthouse needs to change 😃
@patrickhulce Finally, the root of the problem was found. We had an extra top-level
<Suspense />
component in our App that shouldn’t be in the production build. Despite the fact, there weren’t any async-loading components during initial rendering, this extra<Suspense />
caused such strange behavior.I hope this will help someone facing a similar issue.
Now LCP metrics look truthfully.
The only question I have now is why this highlighted header block is treated as LCP? Probably we can just ignore this.