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

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
| Metric | Measures | "Good" | Common causes of poor results |
|---|---|---|---|
| LCP | When the largest visible element finishes rendering | ≤ 2.5 s | Slow server response, large or late-loading hero image, render-blocking CSS |
| INP | How quickly the page responds to clicks, taps and key presses | ≤ 200 ms | Long JavaScript tasks, heavy third-party scripts, expensive event handlers |
| CLS | How much visible content moves unexpectedly | ≤ 0.1 | Images 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
- Find the LCP element. PageSpeed Insights names it — usually a hero image or headline.
- Speed up the server response. Caching, a CDN and efficient database queries reduce the time before anything can load.
- 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. - Remove render-blocking resources. Inline the CSS needed for the first screen and defer the rest; load scripts with
deferwhere 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
widthandheightattributes (or a CSSaspect-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: swaporoptional, 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
- List every third-party script on your key templates and what it's for.
- Remove scripts nobody uses — old analytics, abandoned experiments.
- Delay non-essential scripts, such as chat widgets, until after the page is interactive or until the user needs them.
- Measure again. Third-party code is often the single biggest cause of poor responsiveness.
A practical workflow
- Check field data for your key templates in Search Console's Core Web Vitals report or PageSpeed Insights.
- Pick the worst metric on the most important template.
- Reproduce it in a lab test and identify the cause.
- Fix, deploy, and confirm in the lab first.
- 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.
- #Core Web Vitals
- #Technical SEO
Related reading

Website Optimization
How to Optimize Images for SEO, Accessibility, and Speed
Image SEO is mostly careful HTML. Here's how to mark up images so they load fast, describe themselves to screen readers, and can be found in image search.
5 min read

Technical SEO
How to Perform a Technical SEO Audit Step by Step
A technical audit answers one question: can search engines reach, understand and index your important pages? Here is the order to check things in, and what to fix first.
6 min read

AI Image Tools
How to Use AI to Improve Website Images and Image SEO
Images make pages useful — and slow. Learn how to compress, resize, convert and enhance them, and how to write alt text that helps people and search engines.
6 min read

Website Optimization
AI Website Builders: How to Generate a Landing Page and Optimize It for SEO
An AI website builder can produce a landing page in minutes. Here's how to plan it well and what to check before it goes live.
5 min read