How to Clear the WordPress Cache Without Making Things Worse
A troubleshooting-first guide to clearing page, browser and CDN caches in the right order.
Short answer: Clear the smallest relevant cache first. Purging every layer can make diagnosis harder and can create a temporary performance dip while caches warm again.
If a change appears stale, first ask where the stale copy could live: browser, page cache, reverse proxy, CDN or object cache.
Identify the layer
If a change appears stale, first ask where the stale copy could live: browser, page cache, reverse proxy, CDN or object cache.
WP Rocket provides controls to clear and preload its cache, and also allows clearing a specific post or page.
- Change one important variable at a time.
- Compare repeatable behavior rather than one isolated score.
- Keep reliability and maintainability ahead of marginal benchmark gains.
Purge one page when possible
WP Rocket provides controls to clear and preload its cache, and also allows clearing a specific post or page.
A browser hard refresh does not necessarily purge server or CDN caches.
- Change one important variable at a time.
- Compare repeatable behavior rather than one isolated score.
- Keep reliability and maintainability ahead of marginal benchmark gains.
Check CDN cache separately
A browser hard refresh does not necessarily purge server or CDN caches.
If a change appears stale, first ask where the stale copy could live: browser, page cache, reverse proxy, CDN or object cache.
- Identify which layer is caching the response.
- Prefer the narrowest safe purge instead of clearing every cache by default.
- Verify behavior while logged out or in a private browsing session when testing public page caching.
Use a private window for verification
If a change appears stale, first ask where the stale copy could live: browser, page cache, reverse proxy, CDN or object cache.
WP Rocket provides controls to clear and preload its cache, and also allows clearing a specific post or page.
- Change one important variable at a time.
- Compare repeatable behavior rather than one isolated score.
- Keep reliability and maintainability ahead of marginal benchmark gains.
Preload or warm important pages
WP Rocket provides controls to clear and preload its cache, and also allows clearing a specific post or page.
A browser hard refresh does not necessarily purge server or CDN caches.
- Change one important variable at a time.
- Compare repeatable behavior rather than one isolated score.
- Keep reliability and maintainability ahead of marginal benchmark gains.
Practical decision rule
Fix the layer the evidence points to. Caching helps repeated server work; CSS and JavaScript work affect rendering and responsiveness; images and fonts affect transfer and discovery; hosting and application behavior affect origin response. Avoid solving a different problem just because a tool is popular.
Related guides
Sources and further reading
Editorial note: Product features, pricing and plan terms can change. Commercial claims are checked against current vendor documentation where cited; verify the live merchant page before purchase.