liveBook · Manning

Largest contentful paint

As explained in Fast by Default

Largest Contentful Paint is a web performance metric measuring when the largest visible content element in a page's viewport finishes rendering.

Largest Contentful Paint (LCP) measures how quickly the largest visible element in the viewport appears, such as a hero image, video thumbnail, or main headline. It approximates when a page looks ready to use. Slow LCP can increase abandonment and weaken search visibility; Google uses Core Web Vitals as a ranking tie-breaker when content quality and relevance are similar. section 2.2.1 section 3.2.1

Use LCP as a user-centered performance baseline:

  • Target 2.5 seconds or faster for 75% of page loads; treat results above 4 seconds as poor. section 3.2.1
  • Measure on realistic devices and network connections rather than relying on a fast development machine. section 3.2.1
  • Inspect LCP separately from aggregate performance scores, because an improved overall score can hide regression in a user-facing metric. section 3.2.1
  • Review results in Chrome DevTools, Google Search Console, or PageSpeed Insights when coordinating with engineering, product, marketing, or SEO stakeholders. section 3.2.1

E-commerce product page

A product page feels ready when its main image and price appear. LCP measures that visual milestone, while INP measures the response after the user taps “Add to cart” and CLS captures disruptive movement while the page loads. section 3.2.1

Table 3.3 Core Web Vitals for web applications
Metric
Measures
Example
Largest Contentful Paint (LCP)
Time until the largest visible content appears
A hero image or main headline finishes loading
Interaction to Next Paint (INP)
Delay between user interaction and visual feedback
User clicks “Add to cart” and sees the button respond
Cumulative Layout Shift (CLS)
How much the page layout shifts during loading
An ad loads late and pushes the article text down

Compare LCP with INP and CLS by the user experience each metric measures. section 3.2.1

How Fast by Default covers it

How deep it goes
Defines LCP, gives thresholds and measurement guidance, but does not explain browser rendering internals or optimization implementations.
Examples
Uses hero images, video thumbnails, headlines, product images, prices, Chrome DevTools, Search Console, and PageSpeed Insights.
What it assumes
Assumes familiarity with web pages and loading, while defining LCP and its relationship to user perception from the beginning.
What you can do after
Diagnose LCP with browser and monitoring tools, set realistic thresholds, and evaluate page readiness independently of aggregate scores.
How it connects
Connects LCP with Core Web Vitals, Cumulative Layout Shift, Interaction to Next Paint, search rankings, and abandonment.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Fast by Default. The section links point to the parts of the book it draws on.