Web Performance, Part 1: Understanding Core Web Vitals
Until a few months ago, if I finished a website and everything worked, I considered it ready.
The pages loaded. The forms submitted. The layout worked on mobile. Time to ship.
Then a few clients started asking about performance after their sites went live. I realized there was a question I hadn't been asking while I was building them:
Is this website actually fast, or is it just fast on my laptop?
When I open a page I've been working on, I'm usually on a fast connection, and the browser might already have the images cached. Someone visiting for the first time on an older phone doesn't get the same head start. They might see the heading almost immediately but spend another few seconds waiting for the main image. Or the page might look ready, but when they tap a button, nothing happens right away.
Both of us opened the same page. We didn't have the same experience.
I started with fixes before I knew what I was fixing
I wanted to know how to measure performance properly, what makes it worse, and how much it matters for SEO. Along the way I kept seeing terms like LCP and INP. But at first, I still reached for the fixes I already knew: make the images smaller, move more work to the server, run another test.
Sometimes the numbers improved. Sometimes they barely moved.
A smaller image can help if the browser is spending too long downloading it. But if the browser doesn't even start requesting that image until late, compressing it again won't fix the wait before the download. By the same logic, moving work to the server can save the browser some work, but making the server wait for more data before it sends any HTML can leave the user staring at a blank page for longer.
Sometimes the decision I need to revisit is in the design, not just the code. A hero that depends on a full-screen video, for example, is a different starting point from a hero that can show its headline and a still image right away.
I'd be kidding myself if I said I now know how to make any website fast. Each site I look at teaches me something new. There are still pages where my tests look fine and the data from real visits is worse, and I don't immediately know why.
What helped was getting more specific about what I meant by “slow.”
What are Core Web Vitals?
Google introduced the Web Vitals initiative in 2020. Today, the three Core Web Vitals focus on different parts of the experience: how quickly the main content appears, how quickly the page responds, and how stable it looks while you're using it.
LCP: When did the main thing appear?
Largest Contentful Paint measures the time from the start of navigation until the browser renders the largest eligible piece of content in the visible part of the page. That might be a hero image, a block of text, or a video's first frame.
Imagine opening a product page. The header and navigation show up quickly, but the large product photo is still missing. The page has started showing content, but the thing you came to see isn't there yet. If that photo is the LCP element, that wait is what the metric captures.
One detail I didn't appreciate at first: the browser picks the element based on what it actually renders, not what we think is most important. A large image might be the LCP element on desktop, while a heading takes its place on mobile. That's why I'd check what was measured before optimizing an asset. How LCP works
Good: 2.5 seconds or less.
INP: How long did it take the page to respond?
Interaction to Next Paint measures responsiveness during a visit. For a click, tap, or keyboard interaction, it looks at how long it takes the browser to get to the next paint. The reported INP typically reflects the slowest interaction, with some outliers ignored on pages with many interactions. How INP works
Say you tap a filter on that product page. The results might take a second to come back from the server. That's not automatically one second of INP. If the page quickly shows a loading state, you've already got feedback. If the browser is too busy to show anything, it feels like the tap didn't register. You might tap again.
This is also why I can't judge responsiveness by opening a page and watching it load. I need to actually use it: open the menu, type into search, or apply a filter.
Good: 200 milliseconds or less.
CLS: Did anything move when I wasn't expecting it to?
Cumulative Layout Shift measures unexpected visual movement. It considers how much of the visible area was affected and how far the elements moved. The reported score comes from the worst burst of unexpected shifts, not from adding up every movement throughout the visit. How CLS works
Say you're about to tap “Add to cart” and a photo loads above the button. If the page didn't reserve space for the photo, the button can move just as you're reaching for it. You might hit something else entirely.
A skeleton loader can have the same problem. If it reserves less space than the content that replaces it, everything below it can still jump. Showing a placeholder and reserving the right amount of space are two different things.
Good: 0.1 or less. CLS is a score, not a time.
Do these numbers decide where you rank on Google?
No, not on their own. Google says it uses Core Web Vitals in its ranking systems, but doing well on them doesn't guarantee a top spot. Doing poorly doesn't mean your site disappears from search. And a Lighthouse score isn't the same thing as a Core Web Vitals assessment.
When assessing real visits, the recommended targets are checked at the 75th percentile, with mobile and desktop looked at separately. In other words, a single good result on my laptop can't tell me how the page performs for most visitors.
The question I ask now isn't just “How do I get a better score?” It's “What did the user have to wait for?” Was it the main content? A response to a tap? Or did the thing they were about to tap move?
In Part 2, I’ll show how I use Lighthouse and PageSpeed Insights to measure performance. I’ll also explain how a page can score 95 in Lighthouse and still fail the Core Web Vitals assessment based on data from real visitors.

