A slow WordPress website can cost you visitors, rankings, and revenue. In this guide, I will walk you through every step to get your WordPress site to 90+ Google PageSpeed score.
1. Install a Caching Plugin
WP Rocket is the best option. Install it, enable page caching, browser caching, and GZIP compression. For free alternatives, use W3 Total Cache or LiteSpeed Cache if on LiteSpeed server.
2. Optimize Images
Use ShortPixel or Imagify to compress all images to WebP format. Enable lazy loading so images below the fold load only when the user scrolls to them.
3. Use a CDN
Cloudflare free plan is enough for most sites. It caches your static assets globally and reduces server load significantly.
4. Minify CSS, JavaScript, HTML
Enable minification in your caching plugin. This removes whitespace and comments from code files, reducing their size by 20-40%.
5. Clean Your Database
Use WP-Optimize to remove post revisions, spam comments, transients, and orphaned metadata. A clean database means faster queries.
Result
Following these 5 steps, I consistently get client WordPress sites from 40-50 PageSpeed to 90+. The biggest wins usually come from image optimization and caching setup.