Last updated
WordPress
Speed Up WordPress with WP Rocket
Speed up a WordPress site with WP Rocket caching, preloading, and CDN integration.
Configure WP Rocket for maximum WordPress speed, caching, minification, lazy load, and CDN.
Install WP Rocket
Purchase from wp-rocket.me, then upload via Plugins → Add New → Upload Plugin.
Recommended Settings
Caching
- Enable Mobile Cache if your theme is responsive
- Set cache lifespan to 10 hours for most sites
- Enable Separate cache files for mobile devices only if you have a separate mobile theme
File Optimization
- Enable Minify CSS and Combine CSS
- Enable Minify JS, use Defer JS for non-critical scripts
- Enable Remove Unused CSS (RUCSS) for significant savings
Media
- Enable LazyLoad images and iframes
- Enable Add missing image dimensions to prevent CLS
Preload
- Enable Activate Preloading
- Enable Prefetch DNS Requests for external domains
Exclude Pages from Cache
Go to Advanced Rules → Never Cache These Pages and add:
/checkout/
/my-account/
/cart/
Test Your Score
After configuring, test with PageSpeed Insights, GTmetrix, or Pingdom. Aim for LCP < 2.5s and FID < 100ms.
FAQ
Is WP Rocket free?
No, it is a paid plugin. Free alternatives exist, but WP Rocket is easy to set up well.
A WP Rocket setting broke my site. What now?
Turn off the last option you changed (often Delay JavaScript or Remove unused CSS), clear the cache and test again.