WordPress is powerful but can be slow if not optimised. Here are 12 proven techniques to push your site into the green zone on PageSpeed Insights.
1. Choose Fast Hosting
Hosting is the foundation. Use LiteSpeed-based hosting (Hostinger, Cloudways, NameHero) or managed WordPress hosting (WP Engine, Kinsta, RunCloud).
2. Use a Lightweight Theme
Avoid bloated multi-purpose themes. Use Astra, GeneratePress, Kadence or Blocksy. Build with Gutenberg or a fast page builder like Bricks/Cwicly.
3. Install a Caching Plugin
WP Rocket (paid) or LiteSpeed Cache (free, if your host supports it). Enable page cache, browser cache and object cache (Redis if available).
4. Use a CDN
Cloudflare's free plan + Auto Minify + Brotli compression dramatically improves global load times.
5. Optimise Images
Convert all images to WebP using ShortPixel, Smush or Imagify. Lazy-load images below the fold.
6. Defer JavaScript
Use the "Delay JS execution" feature in WP Rocket or LiteSpeed Cache. This pushes non-critical scripts (analytics, chat widgets) until after page load.
7. Minify and Combine CSS/JS
Most caching plugins do this. Test thoroughly — combining can sometimes break sites.
8. Limit Plugins
Every plugin adds queries and HTTP requests. Audit and remove unnecessary plugins. Aim for under 25 active plugins.
9. Optimise Database
Use WP-Optimize or WP Sweep to clear post revisions, spam comments, transients and orphaned data weekly.
10. Disable Heartbeat API
The WP Heartbeat API runs every 15 seconds and can slow your admin. Use the Heartbeat Control plugin to disable or throttle it.
11. Use a Modern PHP Version
Upgrade to PHP 8.2 or 8.3. It's 30-40% faster than PHP 7.4.
12. Hotlink Protection & Bot Blocking
Block bad bots and hotlinking via .htaccess or Cloudflare WAF rules. They consume server resources unnecessarily.
Bonus: Test, Don't Guess
Use PageSpeed Insights, GTmetrix and WebPageTest. Real-world tests beat synthetic scores.