The bazaar’s page loads on a phone and each file is a runner on the track: tune the hero photo, the font, the ad slot and the cart button’s work; LCP and CLS…
Why it matters
Google uses Core Web Vitals as a ranking signal, and the numbers come from real visitors (CrUX, the 75th percentile), not from your laptop. Passing means all three are green. Each metric has its own cause and its own cure, so know which one is red before you start fixing.
The key idea
Three metrics, three moments, three cures
Common mistakes
Chasing LCP only, then wondering why the score stays red Passing Core Web Vitals means all three metrics are green. Check which is red first: often it is CLS (an ad or a promo with no space kept) or INP (a click handler doing heavy work). A lighter image changes neither of them at all.
A small banner coming and going adds up to a big CLS score CLS adds up shifts less than 1 s apart (one session window, 5 s at most), then takes the worst window. Five small shifts close together make one big score. Keep the space from the start, or show it with position: fixed or a transform, which push no content.
Lighthouse on a fast laptop says all green, but Google’s field data stays red Google rates from field data (CrUX): the 75th percentile of real visits, mostly phones with far slower networks and CPUs. Test with phone throttling (Lighthouse mobile: RTT 150 ms, 1.6 Mbps, CPU 4x slower) and watch the field data. INP only exists from real users’ interactions.
Try it in this playground
Click a red shift mark under the race clock The phone board jumps to that moment and shows the old places as dashed outlines. That is the distance CLS counts.
Set fetchpriority="high", then try loading="lazy" on the herohigh has Dodi served before the product photos, the Load part shrinks. lazy has him leave only after the first layout: a Load delay appears.
Click the cart button without a yield, then turn the yield on and click again The work is just as heavy, yet your browser measures far less: the frame is painted before the heavy work runs.
Press "Check in your browser" The same page is built for real; your own browser’s layout-shift and largest-contentful-paint entries show beside the model’s numbers.