How to speed up a WordPress website in three steps

Executive overview

Slow WordPress sites hurt both rankings and revenue. Google has used page speed as a ranking signal since 2010, and bounce rate climbs directly with load time.

Three changes — faster DNS, a caching/optimisation plugin, and image compression — can take a site from a mobile PageSpeed score of 45 to 95 and cut load time from 1.72 seconds to 200 milliseconds.

The fastest gains come from switching DNS, enabling WP Rocket, and compressing images — in that order.

Step 1: switch to Cloudflare DNS

  • Free DNS from domain registrars is typically slow; Cloudflare's free DNS responds faster.
  • Sign up for Cloudflare, add your site, confirm DNS records, then update nameservers at your registrar.
  • Change propagates without touching your server or files.

Step 2: install and configure WP Rocket

  • WP Rocket is a paid all-in-one WordPress speed plugin; handles caching, minification, compression, and lazy loading.
  • Enable mobile caching if the site is responsive.
  • Minification strips whitespace and comments from HTML, CSS, and JS — reduces file size without changing behaviour.
  • Combining CSS/JS files helps on HTTP 1.1 (files load consecutively); less impactful on HTTP 2 (files load concurrently). Use KeyCDN's tester to check which protocol your server uses.
  • Enable CSS delivery optimisation to generate above-the-fold CSS and load remaining CSS asynchronously — fixes render-blocking CSS.
  • Remove jQuery Migrate if no theme or plugin requires it.
  • Enable defer JS loading — delays JS so HTML and CSS reach the visitor first; fixes most render-blocking JS warnings in PageSpeed Insights.
  • Test thoroughly after enabling minify, combine, or defer JS — these settings can break site functionality.
  • Lazy load defers images and videos until they scroll into view; built into WordPress 5.5+ by default.
  • Preloading lets you declare high-priority resources so the browser loads them before lower-priority scripts.
  • If your audience is global, enable a CDN (Content Delivery Network) to serve files from servers closest to each visitor.

Step 3: optimise images

  • Lazy loading helps images below the fold; featured images above the fold still need to be small at load time.
  • Use a plugin like ShortPixel or Imagify to compress images with lossy or lossless compression.
  • ShortPixel can also convert images to WebP format, which achieves further size reduction with minimal quality loss.
  • Enable the "create WebP version" option under ShortPixel's Advanced settings.

Results and caveats

  • After all three steps: mobile PageSpeed score 45 → 95; desktop 79 → near perfect.
  • Pingdom load time: 1.72 s → 200 ms; page size: 1.7 MB → ~900 KB; requests: 63 → ~21.
  • Every page on the site loaded in under one second on a follow-up Ahrefs Site Audit crawl.
  • Results vary — a heavy theme, resource-intensive plugins, poor hosting, or many third-party tracking scripts can limit gains.
  • If speed is still poor after these steps, consider removing plugins, switching themes, or hiring a developer.

More like this — when you're ready for early access.

Join the waitlist for a personal account and content recommendations based on what you're working on.

No spam. Unsubscribe at any time.

You're on the list. We'll be in touch before launch.

Get early access to the full library.

Join the waitlist for a personal account and content recommendations based on what you're working on.

No spam. Unsubscribe at any time.

You're on the list. We'll be in touch before launch.

Be among the first to get personalised recommendations tailored to your stage in business.

No spam.

You're on the list. We'll be in touch before launch.

Be among the first to get personalised recommendations tailored to your stage in business.

No spam.

You're on the list. We'll be in touch before launch.