Website Speed Optimization: How to Fix Slow Pages in 6 Easy Steps

IPS Inc.

–

October 23, 2026

Home » SEO » Website Speed Optimization: How to Fix Slow Pages in 6 Easy Steps
Stopwatch beside a laptop on a desk for a website speed optimization plan
Website speed optimization starts with three measurements: LCP, INP and CLS.

Website speed optimization means making your pages load fast, respond quickly and stay stable. The reliable way to do it is simple. Measure Google’s three Core Web Vitals first. Fix the main image and the server response next. Trim scripts after that, then measure again.

This guide is a plan, not a list of causes. If you still need to find out what is wrong, start with our guide to why your website is slow. Then come back here and fix it in the right order. Each step names the metric it moves and how to check it.

Key Takeaways on Website Speed Optimization

  • Google’s targets are an LCP of 2.5 seconds or less, an INP of 200 milliseconds or less and a CLS of 0.1 or less.
  • Google’s web.dev guide says to judge these at the 75th percentile, so three out of four real visits must pass.
  • In 2025, only 48% of mobile websites passed all three Core Web Vitals.
  • The order of work matters: baseline, main image, server response, scripts, layout shifts, then a re-test.
  • Never lazy-load your main image, and give high priority to only one or two images.
  • Speed helps your visitors and your rankings, but it does not guarantee either.

What Should Website Speed Optimization Measure?

Website speed optimization starts with three numbers, not one score. Google calls them Core Web Vitals. Each one tracks a different moment in a visit.

Metric What it tracks Good result
LCP (Largest Contentful Paint) How fast the main content appears 2.5 seconds or less
INP (Interaction to Next Paint) How fast the page reacts to a tap or click 200 milliseconds or less
CLS (Cumulative Layout Shift) How much the layout jumps while loading 0.1 or less

These targets come from Google’s web.dev guide to Web Vitals. It says LCP “should occur within 2.5 seconds of when the page first starts loading.” It also says a good threshold to measure is “the 75th percentile of page loads, segmented across mobile and desktop devices.”

In plain words, three out of four visits must meet each target. A fast office connection can hide a slow experience for real visitors. So test on mobile first.

Many sites still miss at least one target. The HTTP Archive’s Web Almanac 2025 reports that only 48% of mobile websites and 56% of desktop websites had good Core Web Vitals. On mobile, 62% of pages reached a good LCP. That compares with 77% for INP and 81% for CLS. So LCP is usually the first problem to solve.

To measure your own pages, use PageSpeed Insights. Run your homepage, your top service page and your most-read blog post. Write down all three numbers for each.

How Do You Do Website Speed Optimization Step by Step?

Work in this order. Each step removes the biggest delay before you tune the smaller ones.

Step 1: Set a baseline

Record LCP, INP and CLS for three key pages on mobile. Note which element is the LCP element. On most business sites it is the hero image or the main headline. Keep this sheet, because it is your proof of progress later.

Step 2: Fix the main image first

On most business sites, the largest element is an image. Google’s web.dev guide to optimizing LCP splits LCP into four parts. As a guide, about 40% of the time goes to the first byte and about 40% to loading the resource. The other two parts, load delay and render delay, should each stay under 10%. The guide adds that these are “guidelines, not strict rules.”

So give your main image a fair chance:

  • Resize it to the largest size at which it is shown.
  • Save it as WebP or another modern format.
  • Never lazy-load it. web.dev warns that lazy-loading your LCP image “will always lead to unnecessary resource load delay.”
  • Add fetchpriority="high" to it. Use this on only one or two images, because web.dev notes that more makes priority “unhelpful in reducing LCP.”

Here is what a well-prepared main image looks like in HTML:

html
<img src="hero.webp" alt="Describe what the image shows" width="1200" height="675" fetchpriority="high">

The width and height also reserve space, which helps Step 5.

Step 3: Speed up the server response

If the first byte arrives late, nothing else can start. web.dev gives a rough guide in its Time to First Byte article: most sites should aim for a TTFB of 0.8 seconds or less. TTFB is not a Core Web Vital, but it feeds directly into LCP.

Three changes usually help:

  • Turn on page caching, so the server does not rebuild each page for every visit.
  • Run a current PHP version if your site runs on WordPress.
  • Serve images and files from a CDN, which stores copies closer to your visitors.

A caching plugin or your host’s built-in cache covers the first item. If TTFB stays high after caching, the hosting plan may be the limit.

Step 4: Cut JavaScript to improve responsiveness

INP measures the delay between a tap and the next screen update. According to web.dev’s guide to optimizing INP, every interaction has three phases: input delay, processing duration and presentation delay. In most cases, heavy scripts slow the first two.

Start with the scripts you control:

  • Remove plugins you no longer use.
  • Remove chat widgets, sliders and tracking tags that nobody checks.
  • Delay non-essential scripts until after the page has loaded.

If you have a developer, pass on web.dev’s advice to “do as little work as possible” inside event callbacks and to break long tasks into smaller ones. This is the hardest step, so it comes after the easy wins.

Step 5: Stop layout shifts

CLS counts how much visible content moves while the page loads. Images without dimensions, late banners and swapping fonts are the usual causes. Set a width and height on every image. Reserve space for banners and embeds. Finally, test your cookie notice, because it often pushes content down.

Step 6: Measure again and set a budget

Run the same three pages again and compare them with your baseline. Then set a simple budget so speed does not slip back:

Budget item Rule Check with
LCP on mobile 2.5 seconds or less PageSpeed Insights
INP 200 milliseconds or less PageSpeed Insights
CLS 0.1 or less PageSpeed Insights
TTFB 0.8 seconds or less PageSpeed Insights
Every new plugin or script Test the three pages before and after adding it Your baseline sheet

Which Website Speed Optimization Fixes Give the Biggest Return?

Start at the top of this table and move down only while a metric is still failing.

Fix Effort Metric it moves Do it when
Resize and convert the main image Low LCP Always, first
Remove lazy-loading from the main image Low LCP The LCP element is lazy-loaded
Turn on page caching Low to medium TTFB, LCP The server responds slowly
Remove unused plugins and tags Low INP, LCP Always
Add image dimensions Low CLS The layout jumps
Break up long scripts High, needs a developer INP INP is above 200 milliseconds
Change hosting Medium TTFB Caching did not fix TTFB

What Mistakes Slow Website Speed Optimization Down?

Most wasted effort comes from five habits.

  • Chasing a score of 100. Google’s targets are thresholds for three metrics. They are not one number out of 100.
  • Stacking optimization plugins. Two caching tools often fight each other. Use one, and test after each change.
  • Testing only on desktop. Mobile is harder. The Web Almanac shows 62% of mobile pages with a good LCP, against 74% on desktop.
  • Lazy-loading everything. It helps images far down the page. It hurts the one at the top.
  • Compressing without resizing. A 4,000-pixel photo shown at 800 pixels is still too heavy, even when compressed.

Does Website Speed Optimization Improve Google Rankings?

Yes, but on its own it helps only a little. Google’s page experience documentation states that “Core Web Vitals are used by our ranking systems.” It also says Search “always seeks to show the most relevant content, even if the page experience is sub-par.” And good scores do not guarantee that your pages rank at the top.

So think of speed as removing friction. A fast page gives your content a fair chance. It will not rescue weak content.

When Should You Get Help With Website Speed Optimization?

First, do the low-effort fixes yourself. Then get help when LCP stays above 2.5 seconds after the image and caching fixes. Also get help when INP stays above 200 milliseconds because of how the theme is built.

Our speed optimization service follows the same order as this guide. We measure your pages, fix what slows them down, then measure again. You see both sets of numbers, and we do not promise a score.

Frequently Asked Questions

Can I do website speed optimization without a developer?

Yes, for most of it. Steps 1, 2, 3 and 5 need no code if you use a caching plugin and resize your images. Step 4 is where a developer helps most.

How long before I see results in Google?

Test tools show a change straight away. Real-visitor data updates gradually, because it collects visits over time. Expect to wait several weeks before the field numbers fully reflect your fixes.

Why does my score change every time I test?

A single test runs under controlled conditions, so network and server load change the result from run to run. Compare several runs, and trust the real-visitor numbers more than one lab score.

Should I use a CDN?

A CDN helps most when your visitors are far from your server. It serves images and files from a nearby location. It will not fix a page that is heavy or a server that responds slowly, so use it after Steps 2 and 3.

Sources

Next step

Planning a site like this? Let’s scope it together.

Tell us what the site has to do. We map the pages, the platform and the budget with you before any work starts, and we coordinate on your working hours.

What happens next

Explore More 

Related Blogs.