Performance
Largest Contentful Paint (LCP): show the main content sooner
LCP measures when the biggest element on screen appears. We score it from PageSpeed Insights: 2.5 s or faster earns full points, slower than 4 s earns none.
- Category
- Performance
- Points available
- 4 pts · PageSpeed only
- Effort
- Medium effort
Why it matters
LCP is one of Google's Core Web Vitals. It reflects when visitors feel the page has loaded: usually the hero image, a headline or a product photo.
A slow LCP makes people leave before they see your offer. Google uses Core Web Vitals as a page experience signal in ranking.
How we measure it
This check is scored only when the server has a PageSpeed Insights key. We run a mobile PageSpeed test and read the lab LCP value from Lighthouse.
If PageSpeed returns no LCP value, you get partial points. Without PageSpeed data the check is not scored at all, and its points go to TTFB, HTML size and redirects instead. In a duel, if only one site has PageSpeed data, both are scored without it so the comparison stays fair.
| Result | Without PageSpeed | With PageSpeed |
|---|---|---|
| 2.5 s or faster | not scored | 4 |
| 2.5-4 s | not scored | 2 |
| PageSpeed returned no value | not scored | 2 |
| Slower than 4 s | not scored | 0 |
Performance weights change when PageSpeed Insights data is available: TTFB, HTML size and redirects then share the 22 performance points with LCP, CLS and INP.
How to fix it
- Find the LCP element in Chrome DevTools (Performance panel) or in the PageSpeed report.
- If it is an image: compress it, serve AVIF or WebP, size it for the viewport, and add
fetchpriority="high". Never lazy-load it. - Preload the LCP image or the font of the LCP headline so the browser fetches it early.
- Reduce render-blocking CSS and JavaScript in the
<head>. - Fix TTFB first if it is slow. LCP cannot be faster than the first byte.
Copy-paste fixes
<head>
<!-- Start downloading the hero image before the parser reaches it -->
<link rel="preload" as="image" href="/img/hero.avif" type="image/avif" fetchpriority="high">
</head>
<body>
<!-- The LCP image: never lazy-load it, give it fixed dimensions -->
<img src="/img/hero.avif" alt="Running shoes on a track" width="1200" height="630" fetchpriority="high">
</body>import Image from "next/image";
import hero from "@/public/hero.jpg";
export default function Home() {
// priority = preload + fetchpriority="high" + no lazy loading
return <Image src={hero} alt="Running shoes on a track" priority sizes="100vw" />;
}Common mistakes
- Adding
loading="lazy"to the hero image, which delays the most important image on the page. - Loading the hero as a CSS background image that the browser only discovers after the CSS is parsed.
- Using a slider whose first slide is injected by JavaScript.
Test your site now
Put your site against a competitor and see how many of these points you earn, and which fixes pay off first.