In this article, we will share the most useful WordPress speed optimization tips to boost WordPress performance and speed up your website.
Results achieved with WP Rocket caching plugin and Rocket.net hosting
The Basics
- Decent hosting
No matter how much effort you put into optimizing your website, most of its success depends on the quality of your hosting. Even with a high-end VPS your WordPress site might still not be as fast as you’d expect because website speed depends on several factors beyond just server resources.
We recommend Rocket.net or Cloudways for resource demanding websites - Caching plugin + lazy loading images.
Free performance plugins you might try: WP Optimize or LiteSpeed Cache + Lazy Load
Performance plugin that we tested and recommend: WP Rocket - Cloudflare is a must-have; reducing load times by delivering cached content from servers closest to the user
- Don’t fix yourself on Google Page Speed Insights. The Google PageSpeed Insights score isn’t always a real reflection of a website’s actual speed because it mainly evaluates theoretical performance based on a set of lab metrics, not real-world user experience.
Instead check your website performance at GTmetrix.com or SpeedVitals.com
WP Rocket Recommended Settings
- File Optimization
✅ Minify CSS files
🟨 Optimize CSS delivery (if you notice any errors on your website after having activated this setting you should deactivate it as gains are not worth having visual glitches)
✅ Minify JavaScript Files
✅ Combine JavaScript files (make sure JavaScript still works properly afterward)
🟨 Load JavaScript deferred (you can test however in some cases could cause issues with scripts) - Media
✅ Enable LazyLoad for images
✅ Enable LazyLoad for CSS background images
✅ Enable LazyLoad for iframes and videos
✅ Add missing image dimensions - Preload
✅ Activate Preloading
🟨 Enable link preloading (you can enable it but this could be demanding on server because it downloads a page each time when a user hovers over the link) - Advanced Rules
✅ Cache Lifespan set to 10 hours (or less if you experience issues with logging in via popup, if it still happens from time to time we suggest enabling “Skip additional login/registration security check” option in WorkScout Core → Registration) - Database
You can use every feature there to keep database clean - CDN
Not needed if your hosting already has CDN. - Hearbeat
✅Control hearbeat and set to “reduce activity” - Image Optimization
✅ You can use Imagify from WP Rocket or EWW Image Optimizer
Advanced Tweaks
If you want to get the most out of your website in terms of speed, we highly recommend carefully reading this article: