Speed & performance · Guide
How to Clear WP Rocket Cache (Step by Step)

Short answer
Hover over WP Rocket in the top admin bar and click Clear and preload cache. You can also go to Settings, then WP Rocket, open the Dashboard tab and click Clear and preload. To clear one page, use the clear option for that URL in the same menu.
Key takeaways
- The admin bar WP Rocket menu is the fastest way to clear the full cache.
- You can clear a single page instead of the whole site.
- Clear Used CSS after theme or layout changes if Remove Unused CSS is on.
- Delete the wp-rocket cache folder by FTP if the dashboard is down.
- Also clear browser, CDN and host caches if old content still shows.
How do you clear the WP Rocket cache?
Hover over WP Rocket in the top admin bar and click Clear and preload cache, or go to Settings, then WP Rocket, and click Clear and preload on the Dashboard tab.
Either button deletes every cached page WP Rocket has stored and, when preload is on, starts rebuilding the cache in the background. Your visitors get fresh pages right away.
WP Rocket also clears the cache by itself when you update posts and change settings, so you rarely need to do it by hand.
This guide covers every way to clear it: the whole site, one page, used CSS, from the server, and from the command line. It also explains the other cache layers that can still show old content.
How do you clear the whole cache from the admin bar?
While logged in, hover over WP Rocket in the admin bar at the top of any page and click Clear and preload cache.
This is the quickest method and works from both the dashboard and the front end of your site. You will see a notice once the cache is cleared.
The vendor's Clear WP Rocket cache documentation shows every clearing option and where it appears.
If you do not see the WP Rocket menu, your user role may not have permission, or the admin bar may be hidden in your profile settings. Administrators see it by default.
How do you clear the cache from the settings page?
Go to Settings, then WP Rocket, open the Dashboard tab, and click Clear and preload in the Quick Actions area.
The Dashboard tab may show more quick actions depending on which features you use. For example, a Clear Used CSS button appears when Remove Unused CSS is enabled.
WP Rocket explains what each of these buttons does and when to use them in its guide to the top menu options and quick actions.
| Action | What it clears | When to use it |
|---|---|---|
| Clear and preload cache | All cached pages, then rebuilds | After design changes or plugin updates |
| Clear this URL / page cache | One page | After editing a single page |
| Clear Used CSS | Generated used CSS files | After theme or layout changes |
| Clear cache in Posts list | Cache for one post | Quick fix for one post |
| Delete cache folder by FTP | Everything on disk | When the dashboard is not reachable |
Button names change between versions, so trust the labels in your own dashboard if they differ slightly.
How do you clear the cache for one page?
On the front end, open the page and choose the option to clear this URL from the WP Rocket admin bar menu, or hover over the post in the Posts list and click the clear cache link.
Clearing one page is faster than clearing the whole site, and it avoids a burst of server load while every page rebuilds.
This is useful when you fix a typo or swap an image on one page and do not want to touch the rest of the cache.
WP Rocket already clears a post's cache and related pages, like the home page and category archives, when you update that post. Manual clearing is mostly needed after changes WordPress does not track, such as editing a widget in a page builder.
When should you clear the Used CSS?
Clear the Used CSS after changing your theme, page builder layouts or styling plugins, because Remove Unused CSS stores a trimmed stylesheet that can miss new styles.
If a page looks broken after a design change, with missing colors or unstyled sections, old used CSS is a common cause. Clearing it makes WP Rocket generate fresh CSS for each page.
Regenerating used CSS takes time, especially on large sites. Pages may load the full CSS until the new files are ready.
If layout problems remain after clearing, our guide on WP Rocket breaking your site walks through turning features off one at a time.
How do you clear the cache manually through FTP?
Connect to your server with FTP or File Manager and delete the contents of wp-content/cache/wp-rocket, and the minified files in wp-content/cache/min if you use minification.
This method helps when you cannot reach the dashboard, for example after a fatal error. WP Rocket's guide on how to manually clear the cache lists the exact folders.
Delete the files inside those folders, not the wp-content or cache folders themselves. WP Rocket rebuilds the cache when visitors return.
If you have not used FTP before, our guide on getting FTP access to WordPress explains how to connect.
Can you clear the WP Rocket cache with WP-CLI?
Yes, the WP Rocket CLI package adds a command that clears the cache from the terminal, which is handy for deployments and scripts.
The add-on is published on GitHub as wp-rocket-cli. Once installed, a command along these lines clears the cache:
wp rocket clean --confirm
Check the package's readme for the current commands and options, as they can change. WP-CLI's own cache flush command is different, because it clears the object cache, not WP Rocket's page cache.
Developers can also call rocket_clean_domain() from custom code after a deploy. Wrap it in a function_exists check so the code does not break if WP Rocket is deactivated.
Does WP Rocket clear the cache automatically?
Yes, WP Rocket clears related cached pages when you publish or update content, approve comments, change menus or widgets, switch themes, and save its own settings.
It also has a cache lifespan setting on the Cache tab. When cached files reach that age, they are cleared and rebuilt. Most sites can leave the default.
Some changes are not detected automatically, such as content pulled in from external sources or edits made directly in the database. Clear the cache manually after those.
Our full guide to WP Rocket settings covers the lifespan and preload options in more detail.
Why do you still see old content after clearing?
Old content usually comes from another cache layer, such as your browser, a CDN like Cloudflare, your host's server cache, or a separate mobile cache.
Work through each layer:
- Browser cache. Open the page in a private window or hard refresh.
- CDN cache. If you use Cloudflare, purge it too. Cloudflare's guide to purging cache explains the options.
- Host cache. Many hosts run server caching. WP Rocket clears several of them automatically, but some need clearing in the host panel.
- Object cache. Redis or Memcached can hold old data and may need a separate flush.
- Mobile cache. If phones still show old pages, see our fix for the WP Rocket mobile cache.
Our general guide to clearing cache in WordPress covers every layer step by step.
Can you run WP Rocket alongside your host's cache?
Often yes, but two page caches doing the same job can conflict or serve old content; WP Rocket disables its page caching on some hosts and keeps only its other optimizations.
On hosts with their own page caching, WP Rocket usually handles the integration for you. You still clear the cache from WP Rocket, and it passes the request to the host cache.
If you are unsure which layer to keep, our comparison of WP Rocket vs host caching explains the trade-offs.
How often should you clear the WP Rocket cache?
Clear the whole cache only after site-wide changes like theme updates, new plugins or menu edits; for single page edits, let WP Rocket clear it automatically or clear just that page.
Clearing too often wastes the benefit of caching, because every visitor after a clear gets a slower, uncached page until the cache rebuilds.
With preload turned on, the impact is small. WP Rocket rebuilds key pages in the background so most visitors still get cached copies.
If you want to know more about what the plugin does under the hood, our explainer on what WP Rocket does is a good next read.
Frequently asked questions
Does clearing the WP Rocket cache delete my content?
No. Clearing the cache only deletes the saved HTML copies of your pages and related files such as minified CSS. Your posts, pages, settings and media stay untouched in the database and uploads folder. WP Rocket simply rebuilds the cached pages afterward.
Will clearing the cache slow my site down?
Briefly. Right after a clear, the first visitors to each page get an uncached version while WP Rocket rebuilds it. With preload turned on, WP Rocket recreates key pages in the background, so most visitors still get fast cached pages.
Why is there no WP Rocket menu in my admin bar?
The admin bar may be turned off in your user profile, or your role may lack permission to manage WP Rocket. Log in as an administrator and check that Show Toolbar when viewing site is ticked in your profile, then reload the page.
Do I need to clear the cache after updating WP Rocket?
WP Rocket normally clears its cache after an update. It is still wise to check a few key pages afterward. If anything looks broken, run Clear and preload cache and, if you use Remove Unused CSS, clear the Used CSS as well.
Does WP Rocket clear Cloudflare's cache too?
Only if you connect them. WP Rocket's Cloudflare integration, or Cloudflare's own WordPress plugin, can purge Cloudflare when you clear the cache. Without that link, you must purge Cloudflare separately from its dashboard to stop it serving old pages.
Sources
- Clear WP Rocket cache WP Rocket Docs
- Manually clear WP Rocket cache WP Rocket Docs
- When should I use the top menu options and the dashboard Quick Actions WP Rocket Docs
- wp-rocket-cli GitHub
- Purge cache Cloudflare Docs
- wp cache flush WordPress Developer Resources
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
Related guides
About the editors
Researched from the primary sources listed above and checked against our editorial rules before publishing.


