We use cookies to keep this site working and, with your permission, to remember your preferences, understand site traffic and support advertising. You can change your choice at any time. Cookie Policy

SEO Tool Orbit
Website Optimization

How to Optimize Core Web Vitals and Website Performance

Core Web Vitals measure loading, responsiveness and visual stability. Here's what each one means, what usually causes problems, and how to fix and measure them honestly.

By SEO Tool OrbitUpdated November 9, 20265 min read

Illustration of three performance gauges, two in the green range and one in amber
Loading, responsiveness and visual stability — measured on real devices. · Original illustration by SEO Tool Orbit

A page that loads slowly, reacts sluggishly to taps or jumps around while loading loses visitors — whatever its rankings. Core Web Vitals are Google's way of measuring those three experiences with numbers. They're also a lens for finding what actually slows your pages down.

In short: Largest Contentful Paint (LCP) measures loading, Interaction to Next Paint (INP) measures responsiveness, and Cumulative Layout Shift (CLS) measures visual stability. The usual fixes are a fast server response, a properly sized and prioritised main image, less JavaScript on the main thread, and reserved space for anything that loads late. Judge results by field data from real users, not by a single lab score.

The three metrics

MetricMeasures"Good"Common causes of poor results
LCPWhen the largest visible element finishes rendering≤ 2.5 sSlow server response, large or late-loading hero image, render-blocking CSS
INPHow quickly the page responds to clicks, taps and key presses≤ 200 msLong JavaScript tasks, heavy third-party scripts, expensive event handlers
CLSHow much visible content moves unexpectedly≤ 0.1Images without dimensions, late ads and embeds, web fonts swapping

Google assesses each metric at the 75th percentile of real page loads, separately for mobile and desktop. INP replaced First Input Delay (FID) as the responsiveness metric in March 2024.

Field data versus lab data

There are two kinds of measurement, and they answer different questions:

  • Field data comes from real Chrome users (the Chrome User Experience Report). It reflects real devices and networks, covers the last 28 days, and is what Google uses. Pages with little traffic may have no field data.
  • Lab data comes from a single simulated test (Lighthouse). It's repeatable and great for debugging, but it uses one device profile and can't measure INP — lab tools report Total Blocking Time as a proxy.

PageSpeed Insights shows both for any URL: real-user data at the top where available, and a Lighthouse lab test below. Results vary by device, network, location, time and test run, so look for patterns rather than chasing one number.

Improving LCP

  1. Find the LCP element. PageSpeed Insights names it — usually a hero image or headline.
  2. Speed up the server response. Caching, a CDN and efficient database queries reduce the time before anything can load.
  3. Make the LCP image small and early. Serve it at the right size in a modern format, don't lazy-load it, and consider fetchpriority="high" on the image element.
  4. Remove render-blocking resources. Inline the CSS needed for the first screen and defer the rest; load scripts with defer where possible.

Improving INP

  • Ship less JavaScript. Remove unused code, split bundles, and load features when they're needed. Our JavaScript SEO guide covers the rendering choices behind this.
  • Break up long tasks. Work that blocks the main thread for more than about 50 ms delays responses; split it or move it off the main thread.
  • Audit third-party scripts. Chat widgets, tag managers, A/B testing and ad scripts often dominate main-thread time.
  • Keep event handlers light. Update the screen first, then do slower work.

Improving CLS

  • Give every image and video width and height attributes (or a CSS aspect-ratio) so the browser reserves space.
  • Reserve space for ads, embeds and banners before they load.
  • Don't insert content above existing content unless the user asked for it.
  • Choose a font-loading strategy that avoids large reflows — see below.

Images

Images are often the heaviest part of a page and frequently the LCP element. Resize them to their display size, compress them, and use modern formats such as WebP or AVIF. The image SEO guide covers responsive images and lazy loading in detail, and our AI image optimisation guide covers compression and enhancement workflows.

Fonts

  • Limit the number of font families and weights.
  • Self-host fonts or preconnect to the font host, and preload the one or two files used above the fold.
  • Use font-display: swap or optional, and pick a fallback font with similar metrics to reduce layout shift.

JavaScript and CSS

Minification removes whitespace and comments without changing behaviour — a modest but free saving. The CSS Minifier and JavaScript Minifier show how many bytes you save. Bigger wins usually come from removing unused code and third-party scripts entirely.

Caching and server response

  • Enable compression (Brotli or gzip) for HTML, CSS and JavaScript — the Page Size & Compression Checker shows a page's HTML size and whether it's compressed.
  • Set long cache lifetimes for versioned static files.
  • Use a CDN for static assets, and cache whole pages where content allows.
  • Watch Time to First Byte: if the server is slow, everything after it is slow.

Diagnosing problems in the browser

  • Lighthouse (in Chrome DevTools or PageSpeed Insights) lists the specific opportunities: oversized images, render-blocking resources, unused JavaScript.
  • The Performance panel in Chrome DevTools records a page load or an interaction, showing long tasks on the main thread and the layout shifts with the elements that moved.
  • Test on a mid-range phone or with CPU and network throttling. A fast laptop hides problems your visitors have.

Triage third-party scripts

  1. List every third-party script on your key templates and what it's for.
  2. Remove scripts nobody uses — old analytics, abandoned experiments.
  3. Delay non-essential scripts, such as chat widgets, until after the page is interactive or until the user needs them.
  4. Measure again. Third-party code is often the single biggest cause of poor responsiveness.

A practical workflow

  1. Check field data for your key templates in Search Console's Core Web Vitals report or PageSpeed Insights.
  2. Pick the worst metric on the most important template.
  3. Reproduce it in a lab test and identify the cause.
  4. Fix, deploy, and confirm in the lab first.
  5. Wait for field data to update — it covers 28 days — before judging the result.

Performance is one part of a wider technical SEO audit. If you build pages with an AI builder, check the generated output before launch too.

Frequently asked questions

Are Core Web Vitals a ranking factor?

They're part of Google's page experience signals, but relevance and content quality matter far more. Treat good vitals as a way to keep visitors, not as a ranking shortcut.

Why do my PageSpeed scores change between tests?

Lab tests vary with server load, network conditions and third-party scripts. Run several tests and rely on field data for the real picture.

Do I need a perfect score of 100?

No. Aim for "good" on all three field metrics for your important pages. A lab score is a diagnostic tool, not a goal.

Next step

Run your most visited page through PageSpeed Insights, note which of the three metrics is weakest in the field data, and fix its main cause before touching anything else.