Kelly Mears

Core Web Vitals

Google's small set of user-centered performance metrics: loading, interactivity, and visual stability.

Web Platform1 min read196 words14 out · 25 in
also calledWeb VitalsLCPCLS

Core Web Vitals are a standardized set of metrics intended to capture user experience rather than machine timings. The current three are Largest Contentful Paint (when the main content appears), Interaction to Next Paint (how quickly the page responds to input), and Cumulative Layout Shift (how much content moves around unexpectedly while loading).

Their value is that each maps to a felt experience, which makes them arguable with non-engineers. Their limitation is the usual one: they are proxies, and optimizing a proxy directly diverges from optimizing the experience — see Goodhart's Law. A page can score well and still feel bad.

Each has a characteristic cause. Largest Contentful Paint is usually dominated by the Critical Rendering Path and by images. Interaction to Next Paint is usually dominated by main-thread JavaScript, which makes it a Code Splitting and Hydration problem. Layout shift is usually caused by content arriving without reserved space — images without dimensions, fonts swapping, banners injected above existing content.

Field data (real visitors) and lab data (a synthetic run) frequently disagree, and the disagreement is informative rather than a measurement error: lab runs use a fixed device and network, and real users do not.

See also10

Web Font Loading

How custom typefaces are fetched and shown, and why the cost is easy to misattribute.

Web Platform12 connections

Performance Budget

A committed numeric ceiling on a page's cost, enforced automatically.

Web Platform26 connections

Search Engine Optimization

Making content discoverable through search, most of which is ordinary quality work.

Data & Content29 connections

Lazy Loading

Deferring the fetch of a resource until it is needed, or until the browser is idle.

Web Platform21 connections

React Server Components

Components that execute only on the server and never ship their code to the browser.

Web Platform21 connections

Server-Side Rendering

Producing a page's HTML on the server so the first response is already content.

Web Platform23 connections

Layout Shift

Visible content jumping position after it first appears, usually because something loaded late without reserved space, measured by browsers as Cumulative Layout Shift.

Web Platform12 connections

Above the Fold

The part of a page visible without scrolling, a newspaper idea carried onto the web, where it still matters for first impressions and loading but no longer means people won't scroll.

Design & Interface10 connections

Responsive Images

Offering the browser several versions of an image so it can download the smallest one that still looks sharp on this screen at this layout size.

Web Platform17 connections

Long Task

Any stretch of main-thread work over 50 milliseconds, during which the page can't respond to input, and the techniques for breaking such work up.

Web Platform16 connections

Linked from25