Skip to content
Web & Apps

Website speed optimization tips for each Core Web Vital.

Which fix moves which number, the two server settings worth checking once, and how to tell when your template is the thing standing in the way.

JM

John "Holliday" Mahlow

Founder, Cursive Media

Read time
7 min read
Written

TL;DR

  • Find the Core Web Vital you’re failing first: LCP (loading), INP (response to taps) or CLS (layout jumps). Each one has different fixes.
  • For slow LCP, get the main image loading early and unblocked before you shrink it. Google’s LCP guide ranks file size third.
  • For CLS, give images and embeds their space before they load. For INP, remove third-party scripts you don’t need and keep the page lean.

The website speed optimization tips worth your time are the ones aimed at the number your site is actually failing. Google’s Core Web Vitals measure three things: how fast the main content shows up, how fast the page responds to a tap, and whether the layout jumps while it loads. Find the one that’s red, then use the fixes for that one, taken from Google’s own guides.

Shrinking images is a real fix, but Google’s guide to the loading metric ranks it third. Making sure the main image starts loading early, and that nothing blocks it from showing, comes first.

What are the three Core Web Vitals, and what counts as good?

As of November 2026, Google’s Web Vitals guide on web.dev sets these targets for a good experience:

MetricWhat it measuresGood
LCPLargest Contentful Paint: when the main image or text block appearsWithin 2.5 seconds of the page starting to load
INPInteraction to Next Paint: how fast the page reacts to taps, clicks and key presses200 milliseconds or less
CLSCumulative Layout Shift: how much the content jumps around0.1 or less

Each target is judged at the 75th percentile of page loads, separately for mobile and desktop, so Google’s LCP guide asks for 2.5 seconds or less on at least 75% of page visits. A page passes when all three hit their targets at that percentile.

How do you find out which one your site is failing?

Run the page through PageSpeed Insights and read the top section, “Discover what your real users are experiencing,” first. That’s data from real Chrome visitors. The lower section, “Diagnose performance issues,” is a simulated test.

A small site may not have enough visits for the top section. Google’s PageSpeed Insights documentation says it then falls back to data for the whole site, and sometimes shows no real-user data at all. Why the two sections disagree, and what the 0 to 100 score does and doesn’t mean, is its own post: Your PageSpeed score is not your website’s speed.

Expect a lag once you start fixing things. The same documentation says the real-user numbers cover the previous 28 days, so a fix you ship today won’t fully show up there until a full window has passed. For a quick before-and-after check, use a lab test you can rerun. Our free website speed test asks for your web address, city and state, and gives you mobile and desktop speed scores out of 100 with load times. You don’t need to give an email to see the result.

Is LCP slow? Fix the main image’s timing before its size.

Google’s guide to optimizing LCP splits the load into four parts. It lists its fixes “starting with the optimizations that are likely to have the biggest impact.”

Its note on file size is worth reading twice: “Our research shows that the load duration portion of LCP tends not to be a significant bottleneck for most sites.” The guide’s own example is a page where JavaScript kept the main image hidden. Compressing that image wouldn’t have improved LCP. The time just moved to the wait before display.

So work in this order:

  • Never lazy-load the main image. The guide is blunt: “Never lazy-load your LCP image, as that will always lead to unnecessary resource load delay, and will have a negative impact on LCP.” Lazy loading is for images below the first screen.
  • Put the main image in the page’s HTML as a normal image. The guide lists setups the browser can’t spot early: an image added by JavaScript, one hidden behind a lazy-loading script, and a CSS background image.
  • Mark that one image as high priority with fetchpriority="high". The guide warns that setting it on more than one or two images makes it unhelpful.
  • Clear what blocks display: synchronous scripts and large stylesheets in the page head, and A/B testing tools that hide the main content while they decide what to show. The guide says “it is almost never necessary to add synchronous scripts (scripts without the async or defer attributes) to the <head> of your pages,” so give scripts there async or defer. Inline a stylesheet only if it’s small.
  • Hold back embeds the visitor can’t see yet. Google’s third-party script guide says that for embeds below the first screen, “lazy loading is a good way to improve page speed and paint metrics.”
  • Then make the image smaller. Serve it at the size it displays, use WebP or AVIF with a JPEG or PNG fallback, and consider a CDN to put files closer to visitors. Google’s image format guide says those two formats “will generally provide better compression than older formats, and should be used where possible.”
  • Last, the server. Cut redirect chains, since the guide’s advice is to “minimize the number of redirects a visitor must wait through.”

Does your page jump while it loads? Reserve space to fix CLS.

Google’s CLS guide names the most common causes of a poor score: images without dimensions; ads, embeds and iframes without dimensions; content injected after the page loads; and web fonts. The fixes follow from that list:

  • Put width and height on every image and video. The guide says to “include width and height size attributes on your images and video elements,” so the browser can hold the space before the file arrives.
  • Reserve space for embeds like a YouTube video, a Google Map or a social post, with a minimum height or an aspect ratio on the box that holds them.
  • Don’t let banners or sign-up forms push the page down when they appear. Reserve room for them up front, or lay them over the content instead.
  • Treat fonts as a tradeoff. Swapping in a web font after a fallback can shift text, and so can hidden text that appears late. The guide says font-display: optional “can avoid a re-layout,” at the cost of sometimes showing the fallback font. Preloading key fonts and picking a close fallback font help too.

One catch when you check your work. The guide notes that lab tools typically measure only the initial page load. Real-user CLS counts shifts for the whole visit, including content that loads as someone scrolls, so the two numbers can disagree.

Is the page slow to respond to taps? Cut scripts to fix INP.

INP times how long the page takes to show a response after someone taps or clicks, and reports roughly the slowest one in the visit. Google’s INP guide points at script work during page load. Big scripts can create “long tasks on the main thread, which will delay the browser from responding to other user interactions.”

  • List every third-party tag on the page: chat widgets, ad pixels, old A/B tests, review widgets, social feeds. Remove the ones you don’t need. A script that’s gone can’t create the long tasks described above.
  • Keep the page’s structure lean. The INP guide says “large DOMs do require more work to render than small DOMs,” including the work after a tap.
  • Remember that embedded frames count. INP covers slow interactions on the page and in any iframes inside it.

Check INP fixes in the real-user data, not a simulated test. Google’s Web Vitals guide says tools that load a page “in a simulated environment without a user cannot measure INP, as there is no user input.” Watch the real-user section of PageSpeed Insights over the next 28 days instead.

Which server settings should you check once?

Two settings live on your host or CDN rather than in your pages, and they apply site-wide.

The first is text compression. Google’s Lighthouse documentation on compression covers Brotli. It says that if the browser supports it, “you should use Brotli because it can reduce the file size of the resources more than the other compression algorithms,” with GZIP as the fallback.

The second is caching. Google’s caching documentation says to cache static files that never change “for a long time, such as a year or longer,” and to put a hash in each file name. A changed file then gets a new name, so visitors still get your updates.

Will a faster site rank higher on Google?

Google’s page experience documentation says “Core Web Vitals are used by our ranking systems.” It also says good scores don’t “guarantee that your pages will rank at the top of Google Search results.” What that means for your site is covered in Your PageSpeed score is not your website’s speed.

When do these fixes need a developer?

Some of this is settings: turning on compression or caching at your host, or deleting a tag nobody uses. The rest lives in your theme or template. The template decides how the main image loads and which scripts sit in the page head. It also decides whether images carry dimensions. If your builder doesn’t expose those settings, you can’t change them from the editor.

If that’s where you’re stuck, our website redesign work includes a speed and Core Web Vitals pass as part of the rebuild. If your site was built with an AI tool and works but drags, a Post-Generative Optimization speeds it up and measures load time and responsiveness before and after with the same test. For a custom site or web app built from scratch, that’s web and app development.

JM

John "Holliday" Mahlow

Founder, Cursive Media

Keep reading.

Free 20-minute strategy call

Book a strategy call.

Pick a time that works and we'll map what to build, automate, or fix first. No slide deck, no pressure, just a clear plan and an honest read on whether we're a fit.

  • A 20-minute call with someone who builds, not a sales rep
  • We scope what to do first and what it takes
  • You leave with a concrete next step, fit or not

Best for founders and operators ready to move in the next 90 days.

Loading open times…

Prefer to skip the calendar? Email info@cursivemedia.com or call (866) 633-4205.