Core Web Vitals, exactly · core
LCP: what counts, the four subparts and the fixes
LCP is the render time of the largest image or text block visible in the viewport, and you fix it by splitting it into TTFB, resource load delay, resource load duration and element render delay, then attacking the biggest part.
Explain it out loud
Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.
Practise by voiceThe notes
What you must know
- LCP candidates: <img>, <image> inside <svg>, <video> poster or first frame, an element with a CSS url() background image, and block elements with text. Not counted: opacity 0 elements, full-viewport backgrounds, low-entropy placeholders.
- Size is the visible size in the viewport (clipped parts and margins do not count). The browser reports a new candidate each time a bigger element paints, and stops after the first tap, scroll or key press.
- Four subparts: TTFB (about 40%), resource load delay (under 10%), resource load duration (about 40%), element render delay (under 10%). The two 'delay' parts should be close to zero.
- Load delay is big when the image is not in the HTML: it is a CSS background, injected by JavaScript, or lazy-loaded. Fix: put an <img> in the server HTML, add fetchpriority="high", or preload it.
- Never lazy-load the LCP image (loading="lazy" on the hero adds delay). Use fetchpriority="high" on one or two images at most.
- Load duration: smaller bytes (AVIF/WebP, correct size via srcset), a CDN close to users, fewer competing downloads.
- Render delay: render-blocking CSS and sync scripts, web fonts for a text LCP, client-side rendering that waits for JS, long main-thread tasks.
- TTFB: server time, redirects, no CDN cache. SSR or static HTML with a CDN usually beats CSR for LCP.
The red pen
Common traps: mistake → fix
Mistake: "LCP is when the page finishes loading"
Fix: it is when the largest visible content element is painted; the load event is unrelated.
Mistake: "Lazy-load every image for speed"
Fix: lazy-loading the hero image delays LCP; lazy-load only below the fold.
Mistake: "Preload everything important"
Fix: preloading many files makes them compete; preload only the late-discovered LCP resource.
Mistake: "LCP is always an image"
Fix: on many pages (articles, dashboards) it is a text block, so web fonts and render-blocking CSS matter.
Easy to hard
Questions interviewers ask, easy to hard
- What is LCP? What can be an LCP element?
- Open a big e-commerce home page: what is the LCP element and how would you improve it?
- Explain the four LCP subparts and which fix targets which part.
- LCP got worse after you moved the banner into a React carousel. Why, and how do you fix it without removing the carousel?
- How do SSR, streaming and a CDN change each LCP subpart?
Explain it out loud
Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.
Practise by voiceYour first interview is free
Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.