Powered Cache clears the affected pages on its own when you publish or change content, so you rarely need to clear the cache by hand. When you do, for example after changing a menu, a widget or theme options, you can clear one page, the whole page cache or everything from the WordPress admin bar.
Available in: Powered Cache (free)
Where to find it: the Powered Cache menu in the WordPress admin bar, and Powered Cache → Tools
Admin bar items #
Hover over Powered Cache in the admin bar. Which items you see depends on the features you have turned on.
| Item | What it clears | Shown when |
|---|---|---|
| Purge All Cache | Everything: the object cache, and the whole cache folder (wp-content/cache/) with cached pages and combined or minified CSS and JavaScript files. See below. | Always. On multisite, only for network administrators. |
| Purge Page Cache | All cached pages of the current site. | Page Cache is on. |
| Purge Page Cache [Network Wide – All Sites] | All cached pages of every site in the network. | Multisite with Powered Cache network-activated, for network administrators. |
| Purge Current Page | The post you are viewing and its related pages. | Page Cache is on and you view a published post or page on the front end. |
| Purge Object Cache | The persistent object cache only. | A backend is selected in Object Cache. On multisite, only for network administrators. |
| Purge Cloudflare Cache | The Cloudflare cache of your zone. | The Cloudflare integration is on. |
| Preload Cache | Nothing. It starts a full preload. | Page Cache is on. See Cache Preload. |
All items need the manage_options capability, which administrators have. With Powered Cache Premium, the menu also has Generate Critical CSS and Generate UCSS when Critical CSS or Remove Unused CSS is on. On WPML sites, Purge Page Cache has a submenu to clear one language at a time. See WPML and Multilingual Sites.
What Purge All Cache does #
- Flushes the object cache.
- Deletes the whole cache folder,
wp-content/cache/by default. This includes cached pages of all sites, and the combined and minified CSS and JavaScript files, which are created again on the next visit. - Clears Cloudflare when the Cloudflare integration is on.
- With Premium, it also purges the external caches you connected, such as Varnish and Sucuri, and starts generating Critical CSS and Used CSS again when those features are on.
- Starts a full preload when Full Cache Preload is set to Automatic and Cache Preload is on.
Other plugins that store files in wp-content/cache/ lose those files too. Use Purge Page Cache when you only need fresh pages.
You can also use Purge All Cache in Powered Cache → Tools, in the Purge Cache card. It does the same thing.
Purge Current Page #
Use it when one post or page shows outdated content. Open the page on the front end while logged in, then choose Powered Cache → Purge Current Page.
It clears the same URLs as updating the post: the post itself, the home page, the posts page, its category, tag and author archives, its date and post type archives, the related feeds, and the URLs in Purge Additional Pages. When Cache Preload is on, these URLs are preloaded again.
The item is not shown in the WordPress admin, on archive pages, on previews or on posts that are not public. To clear an archive or the home page alone, use Purge Page Cache.
Async Cache Cleaning #
Where to find it: Powered Cache → Tools → Async Cache Cleaning (Clean cache asynchronously). Default: off.
Deleting thousands of cache files can take long enough to slow down the admin screen, or make the request time out. With Async Cache Cleaning on, Powered Cache hands the file deletion to a background job in Action Scheduler and returns right away. This applies to Purge All Cache, Purge Page Cache (including the network-wide and per-language items), Purge Current Page, and the automatic purges after you save a post, change a category or tag, or switch themes.
- The object cache part of Purge All Cache is still flushed right away.
- Until the background job runs, visitors can still get the old cached pages. The job runs the next time Action Scheduler processes its queue, which depends on how WordPress cron runs on your site.
- If Action Scheduler is not available, Powered Cache deletes the files right away instead, so a purge is never lost.
- When you turn the option off, pending background purge jobs are cancelled.
Leave it off on small and medium sites. Turn it on when clearing the cache is slow, or you see timeouts after publishing posts.
Changed in 4.1: When Full Cache Preload is set to Automatic, the full preload now also starts after a background purge has removed the cache files. Before 4.1, a purge with Async Cache Cleaning on could leave the cache cold.
Large sites #
On sites with tens of thousands of cached pages, clearing and expiring the cache becomes heavy disk work. These steps help:
- Turn on Async Cache Cleaning, so purges run in the background.
- Run the WordPress scheduler from a server cron job. Background purges and preloading depend on it. Add
define( 'DISABLE_WP_CRON', true );towp-config.phpand let your server callwp-cron.phpevery minute. Your host can help you set this up. - Optionally, remove expired pages with a server cron job. Every hour, Powered Cache scans the cache folder for pages older than the Cache Lifespan. On very large caches you can stop this scan by setting Cache Lifespan to
0(never expire), and delete old files with a server cron job instead: run the command below, for example once a day.
find /path/to/wp-content/cache/powered-cache/ -type f -mmin +1440 -delete
Replace the path with your real cache path, and 1440 with the age in minutes. Files removed this way are not preloaded again automatically, because Powered Cache does not see the deletion. Pages are still cleared as usual when you publish or update content.
Clear the cache with WP-CLI (Premium) #
With Powered Cache Premium, wp powered-cache purge clears all cache, and wp powered-cache purge --post_id=123 clears one post and its related pages. See WP-CLI Commands.
Troubleshooting #
I still see old content after clearing the cache #
- Reload the page in a private window, so your browser cache does not interfere.
- If Async Cache Cleaning is on, the background job may not have run yet. Wait a little and reload.
- If a CDN, Varnish or your host’s cache sits in front of your site, clear that cache too. See Hosting Compatibility.
- Use Check Cache Status to see which layer served the page.
Some menu items are missing #
Check the “Shown when” column in the table above. For example, Purge Page Cache and Purge Current Page need Page Cache to be on, and on multisite Purge All Cache and Purge Object Cache are only for network administrators.