Configure WP Rocket for maximum WordPress speed — caching, minification, lazy load, and CDN.
Category: Performance
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.