Page speed

Page speed is a ranking factor on the margin. It's a huge factor for conversion. The two together make speed optimization one of the highest-leverage technical investments.

What affects page speed

The metrics that matter for SEO

Core Web Vitals (covered in detail on its own page):

High-impact optimizations

1. Compress and serve modern image formats

WebP or AVIF. Responsive srcset. Compressed. Lazy-loaded below fold. Proper width/height attributes. This alone can cut page weight 40-60% on image-heavy sites.

2. Minify + compress CSS/JS

Minification (remove whitespace) + gzip/brotli compression at the server. Standard at this point; check it's actually enabled.

3. Defer non-critical JavaScript

Load tracking, ads, chat widgets after the page is interactive:

<script defer src="..."></script>
<script async src="..."></script>

The difference: defer preserves execution order; async runs whenever it loads (good for independent scripts).

4. Preload critical resources

<link rel="preload" href="/hero.webp" as="image">
<link rel="preload" href="/fonts/inter.woff2" as="font" type="font/woff2" crossorigin>

5. Inline critical CSS, defer the rest

Extract the CSS needed for above-the-fold rendering, inline it in the <head>. Load the rest async. Cuts LCP significantly.

6. Use a CDN

Cloudflare, Fastly, AWS CloudFront. Geographically-distributed caching. Cuts latency for users far from your origin server.

7. HTTP/2 or HTTP/3

Modern protocols multiplex requests and reduce handshake overhead. Most hosts support this by default now.

8. Reduce third-party scripts

Audit what's loaded. Most sites have third-parties they don't need or use. Every one adds latency + is out of your control.

9. Cache aggressively

10. Font loading

Use font-display: swap to render fallback text immediately. Self-host fonts (avoid Google Fonts latency) or use preconnect to the font CDN. Subset fonts to only the characters you need.

Tools

The 80/20 for most sites

  1. Compress images
  2. Defer non-critical JS
  3. Enable gzip/brotli + HTTP/2 + CDN
  4. Audit + trim third-party scripts
  5. Fix the biggest CWV offender

Ship those five and you'll beat 90% of competitors on speed.