Site speed is not a vanity metric. Slow pages lose visitors, depress search rankings and cost conversions. The good news is that most speed problems come from a handful of known causes, and fixing them follows a repeatable checklist. Work through this one in order and measure after each change.
Measure before you change anything
Start with Lighthouse, built into Chrome DevTools, or the PageSpeed Insights version that also reports real-user field data. Run it on mobile, not desktop, because mobile is where constraints bite. Note the four Core Web Vitals: Largest Contentful Paint for loading, Interaction to Next Paint for responsiveness, and Cumulative Layout Shift for visual stability, plus the overall performance score. Re-measure after every fix so you know what actually helped.
Optimise images first
Images are usually the largest part of a page. They also offer the quickest wins.
- Serve modern formats such as WebP or AVIF, which are far smaller than JPEG and PNG at similar quality.
- Resize to the dimensions actually displayed; sending a 4000-pixel image into a 600-pixel slot wastes bandwidth.
- Compress every file with the Image Compressor before upload.
- Lazy-load images below the fold so the first screen loads fast.
- Set explicit width and height to prevent layout shift.
Compress and cache
Minification strips whitespace and comments from code without changing behaviour. Run CSS and HTML through the CSS Minifier and HTML Minifier, and enable compression like gzip or Brotli on the server. Then set long cache lifetimes on static assets with versioned filenames, so returning visitors load from their own cache.
Deal with render-blocking resources
| Resource | Fix |
|---|---|
| CSS | Inline critical CSS, defer the rest |
| JavaScript | Add defer or async; split large bundles |
| Third-party scripts | Audit and remove anything unused |
| Ads and trackers | Load after main content or on interaction |
Every blocking file delays the first paint. Cut them, defer them, or load them later.
Get fonts and delivery right
- Self-host fonts or preload them to avoid extra connection delays.
- Use font-display swap so text is visible immediately.
- Subset fonts to the characters you actually use.
- Serve everything over a fast CDN with HTTP/2 or HTTP/3.
The checklist in one pass
Measure with Lighthouse, compress and resize images, minify CSS and HTML, enable compression and caching, defer render-blocking resources, optimise fonts, then re-measure and repeat the worst offender. Speed is rarely fixed in one move; it is the accumulation of many small, verified wins.
Frequently asked questions
What is a good Lighthouse score? Aim for 90 or above on mobile, but treat field data as the true test, since lab scores are only an estimate.
Which Core Web Vital is hardest to fix? Usually Largest Contentful Paint, because it often depends on a large hero image or a blocking script that must be identified and replaced.
Does minifying really make a difference? On its own it is modest, but combined with compression and caching the savings compound, especially on text-heavy pages.