Every WordPress site we take over with WP Rocket already installed has the same problem: every checkbox is on. Page cache, file optimization, lazy load, database cleanup, preload, CDN — all of them. Then a third-party form stops working, the checkout flickers, and someone disables WP Rocket entirely instead of finding the one toggle that broke it. The baseline below is what we ship on day one and leave alone for a week before tuning.
What’s happening
WP Rocket bundles roughly twenty features that interact in non-obvious ways. Enabling JS deferral while a third-party script reads window.jQuery synchronously will break that script. Enabling “remove unused CSS” on a site that ships dynamic styles per page will break visuals on every URL the scanner didn’t see. The plugin is well-built, but it cannot guess which features your theme and plugins depend on.
How to verify
After installing, confirm the cache is actually serving:
curl -sI https://www.example.com/ | grep -iE '^(cache-control|x-wp-rocket|cf-cache-status)'
curl -sI https://www.example.com/ | grep -i 'x-cache'
You should see cache-control: max-age=... and, on a second request, evidence the HTML came from the cache layer. In Chrome DevTools, the Performance panel after WP Rocket should show a flat main-thread profile during initial paint and an LCP below 2.5 s on a clean theme.
The fix
- Page Cache: on. Set the cache lifespan to 10 hours. Enable mobile cache. Do not enable separate cache files for mobile unless your theme delivers a mobile-only template.
- File Optimization: enable CSS minification only. Leave JS minification, “remove unused CSS”, and “delay JavaScript execution” off until you have measured a baseline LCP.
- Media: enable lazy load for images. Do not enable lazy load for iframes if you use embedded forms or maps above the fold. Disable WordPress core’s
loading="lazy"only if WP Rocket’s own lazy-load is doing the work. - Preload: enable sitemap-based preload. Point it at your Yoast or Rank Math sitemap URL. Disable link preload — it inflates bot traffic with little measurable gain.
- Database: do not enable the scheduled cleanup. Run database hygiene as a quarterly manual task, not as a background job that deletes revisions you may need.
- CDN: leave off unless you have a CDN configured. WP Rocket’s CDN field rewrites URLs but does not provision anything.
Re-measure with PageSpeed and a real-browser timing tool 48 hours after. Only then start toggling individual file-optimization features one at a time.
Stack Harbor runs WP Rocket at scale across enterprise WordPress operations accounts, including the per-site exception lists that keep checkout and forms intact. If WP Rocket broke something and rolling back didn’t fully fix it, book a 30-minute review.