For web developers
Core Web Vitals: what to fix first
A beautiful site that feels slow still loses people. Three numbers tell you where to start.
Core Web Vitals measure how a page feels to real visitors: how quickly the main content appears, how quickly the page responds and how stable it stays. A page is judged on the 75th percentile of its page views, so a fast result on your own laptop doesn't settle it.
| Metric | What it measures | Good | Poor |
|---|---|---|---|
| LCP | Loading of the main content | 2.5 s or less | Over 4 s |
| INP | Response to clicks, taps and typing | 200 ms or less | Over 500 ms |
| CLS | Unexpected movement on the page | 0.1 or less | Over 0.25 |
Start with real data
Run your page through PageSpeed Insights and look for the field data, which comes from real visitors, if your site has enough traffic. Lab scores are useful for debugging, but they are a simulation.
LCP: make the main content arrive sooner
- Compress your hero image and serve a modern format, such as WebP or AVIF, at the right size.
- Don't lazy-load the main image, and consider giving it a high fetch priority.
- Reduce render-blocking CSS and scripts, and improve slow server responses.
INP: keep the page responsive
- Break long JavaScript tasks into smaller pieces.
- Remove or delay third-party scripts you don't truly need.
- Show a visual response right away, then do the heavy work afterwards.
CLS: stop things jumping
- Set width and height, or an aspect ratio, on images and video.
- Reserve space for banners and embeds before they load.
- Use sensible font loading, so text doesn't jump when the font arrives.
What about impressive animation?
You don't have to choose between a striking site and a fast one, but you do need a budget. Load heavy effects after the main content, use fewer of them on phones, respect reduced-motion settings and pause them when they're off screen.
The short version
Fix the slowest real page first, usually starting with its main image and its scripts. Then measure again.
Need a fast, well-built website?
Talk to Kodo