LCP approximates when the user sees the main content. The LCP element is usually a hero image, a product photo, a video poster or a large heading. Google’s thresholds: 2.5 seconds or less is good, over 4 seconds is poor, measured at the 75th percentile of real visits.
The four parts of LCP
web.dev splits LCP into four sub-parts, which tell you where to look:
| Sub-part | What slows it |
|---|---|
| Time to First Byte | Slow server, no caching, redirects |
| Resource load delay | Image discovered late (CSS background, JavaScript) |
| Resource load duration | Heavy image, no modern format |
| Element render delay | Render-blocking CSS or JavaScript, client rendering |
Example fix
The hero image is set in CSS, so the browser finds it only after the stylesheet loads. Move it into HTML and tell the browser it matters:
<img src="/hero.avif" width="1200" height="600"
fetchpriority="high" alt="Product dashboard" />
Do not add loading="lazy" to the LCP image.
JavaScript sites
On client-rendered pages, the LCP element does not exist until JavaScript fetches data and renders it, which often pushes LCP past 4 seconds on mobile. Server rendering or static generation is usually the biggest single improvement.
Common mistakes
- Lazy loading the hero image.
- A cookie banner or modal becoming the LCP element.
- Optimizing image size when the real delay is TTFB.
- Web fonts that hide the LCP heading until they load. Use
font-display: swaporoptional.
How Renderly handles it
We break LCP into its sub-parts per template and fix the largest one first. See our technical SEO service.