core web vitalsweb performanceseolcp

Core Web Vitals: How to Speed Up Your Website (2026)

What LCP, INP and CLS measure, how to check them in PageSpeed Insights and Lighthouse, and what to optimize first to make your site faster.

June 22, 2026·4 min read

Core Web Vitals are the three metrics Google uses to measure how a page loads and responds to interaction. This guide explains what each one measures, how to check it and what to fix first. Images are usually the heaviest part of a page, so the image compressor on this site, which processes several files at once in your browser, is a good place to start.

What Core Web Vitals are

They're three metrics Google uses to evaluate a page's loading and interaction experience. Google also uses them in its ranking systems, so they matter both for the user and for SEO:

  • LCP (Largest Contentful Paint): how long the largest visible element takes to appear (usually an image or a text block). It measures perceived load speed. Target: 2.5 seconds or less.
  • INP (Interaction to Next Paint): how long the page takes to respond to an interaction (a click, a tap). It measures responsiveness. It replaced the old FID metric. Target: 200 ms or less.
  • CLS (Cumulative Layout Shift): how much content "moves" while loading (those annoying jumps when you go to tap something and it shifts). It measures visual stability. Target: 0.1 or less.

How to measure them

  • PageSpeed Insights (from Google): gives you your URL's Core Web Vitals with lab and real-user data.
  • Lighthouse (built into Chrome DevTools): a local audit in your browser.
  • Search Console: shows your whole site's Core Web Vitals with field data.

Always measure on both mobile and desktop; mobile is usually where it hurts most.

Optimizing LCP (load speed)

LCP is usually a large image, so this is where the biggest improvement margin is:

  1. Compress images. It's usually a good place to start, because it takes little effort. The savings depend on each image, so compare the file size before and after. Use modern formats like WebP or AVIF.
  2. Size images correctly. Don't serve a 4000px image in a 400px slot; resize it to the actual size. If you need several sizes, see responsive images with srcset.
  3. Use loading="lazy" on images not in the first screen, so they don't block the initial load.
  4. Preload the LCP resource with <link rel="preload"> if it's critical, or give it high priority with fetchpriority="high".
  5. Serve from a CDN to reduce the distance to the user. For how it works, see the CDN guide.

For the first two points you can use the image compressor and the resizer on this site, which process in batch and in your browser.

Optimizing INP (responsiveness)

INP worsens when JavaScript blocks the main thread. To improve it:

  • Reduce and split JavaScript: ship less code and load it in chunks (code splitting).
  • Avoid long tasks: break up heavy work or move it to a Web Worker so it doesn't block the UI.
  • Minimize work per interaction: don't let a click trigger huge calculations on the spot.
  • Minify your JS and CSS so they weigh less. More detail in the guide on minifying HTML, CSS and JavaScript.

Optimizing CLS (visual stability)

Content shifts usually come from elements loading without reserved space:

  • Reserve image and video sizes with width/height attributes or aspect-ratio in CSS, so the slot is already there before loading.
  • Reserve space for ads and embeds that arrive late.
  • Watch web fonts: use font-display: swap and preload fonts to avoid text reflow.
  • Don't insert content on top of what the user is already viewing.

The realistic priority order

If you can only do a few things, this is the highest-return order:

  1. Compress and size images (improves LCP, and it's usually what weighs most on the page).
  2. Reserve space for images/embeds (improves CLS, and it's cheap).
  3. Reduce and defer JavaScript (improves INP and also LCP).
  4. Fonts and CDN as finishing touches.

Why this goes beyond SEO

Core Web Vitals affect ranking, but the most direct effect is on the user: the longer a page takes to show what they're looking for, the more visits you lose, especially on mobile and slow connections. That's why optimizing speed helps SEO and conversions at the same time.

Conclusion

Improving Core Web Vitals doesn't require rewriting your site: start with images, reserve space so nothing jumps, and lighten the JavaScript. Measure before and after with PageSpeed Insights, and prioritize by impact. A fast website is better for your users, your ranking and your business.

Start with what weighs most: compress your images in batch with the free image compressor, 100% in your browser.

Try it without code

Image Compressor

Shrink JPG and WebP images in batch.

Open Image Compressor

Built by

Miguel Ángel Colorado Marin (MACM)

Full-Stack Developer · Guadalajara, España

I develop web apps, digital tools and full projects — from design to deployment.

Contact me