Title: Clear Cache Everywhere
Author: PluginRx
Published: <strong>April 21, 2025</strong>
Last modified: March 30, 2026

---

Search plugins

![](https://ps.w.org/clear-cache-everywhere/assets/banner-772x250.png?rev=3278211)

![](https://ps.w.org/clear-cache-everywhere/assets/icon-256x256.png?rev=3278211)

# Clear Cache Everywhere

 By [PluginRx](https://profiles.wordpress.org/apos37/)

[Download](https://downloads.wordpress.org/plugin/clear-cache-everywhere.1.2.1.zip)

 * [Details](https://co.wordpress.org/plugins/clear-cache-everywhere/#description)
 * [Reviews](https://co.wordpress.org/plugins/clear-cache-everywhere/#reviews)
 *  [Installation](https://co.wordpress.org/plugins/clear-cache-everywhere/#installation)
 * [Development](https://co.wordpress.org/plugins/clear-cache-everywhere/#developers)

 [Support](https://wordpress.org/support/plugin/clear-cache-everywhere/)

## Description

**Clear Cache Everywhere** allows administrators to instantly clear various cache
sources directly from the WordPress admin bar. This ensures changes are reflected
immediately without waiting for cache expiration.

**Features:**

 * **One-Click Cache Clearing:** Clears multiple cache layers across WordPress, 
   server, and browser.
 * **Individual Clear Actions:** Run specific cache clearing actions independently.
 * **Admin Bar Access:** Quick purge button in the WordPress admin bar (eraser icon).
 * **Hosting Integration:** Supports clearing hosting-level cache via configurable
   purge URL.
 * **Third-Party Support:** Clears cache for supported plugins and services.
 * **Detailed Logging:** Logs execution time for each action.
 * **Developer Hooks:** Add additional cache clearing actions via developer hooks.

By default, clearing the cache will execute the following actions:

 * **Rewrite Rules** – Flushes WordPress rewrite rules so permalink and routing 
   changes apply immediately.
 * **WordPress Object Cache** – Clears the in-memory object cache used to store 
   database query results.
 * **Transients** – Deletes all transients, forcing temporary data to regenerate
   on next load.
 * **OPcache Reset** – Resets PHP OPcache so compiled scripts reload from disk.
 * **Varnish Cache** – Sends a purge request to Varnish to invalidate reverse proxy
   cached pages.
 * **Redis / Memcached** – Flushes persistent object cache if Redis or Memcached
   is active.
 * **Fragment Cache** – Clears cached template fragments generated by themes or 
   plugins.
 * **REST API Cache** – Removes cached REST responses to ensure endpoints return
   fresh data.
 * **Sessions** – Destroys active PHP sessions. Users may need to log in again.
 * **Cookies** – Removes site-related browser cookies set by WordPress or plugins.
 * **Browser Cache** – Forces browsers to revalidate and reload cached static assets.
 * **Hosting Cache** – Triggers a configured purge endpoint to clear host-level 
   caching.

**Integrations:**

The plugin already supports clearing cache for the following third-party plugins:

 * Cornerstone
 * Elementor
 * WP Super Cache
 * W3 Total Cache
 * WP Rocket
 * LiteSpeed Cache
 * SiteGround Optimizer
 * Cloudflare
 * Autoptimize
 * Swift Performance
 * Comet Cache
 * WP Fastest Cache
 * Hummingbird
 * Nginx Helper
 * WP-Optimize

This plugin is ideal for developers, content managers, and site owners who need 
immediate cache flushing across multiple layers.

### Demo

## Screenshots

 * [[
 * Settings page and admin bar button.

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/clear-cache-everywhere/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. The **Clear Cache** button will appear in the admin bar.

## FAQ

### How does this plugin clear cache?

It executes multiple cache-clearing actions across WordPress core, object caching
systems, server-level caching, browser cache, and supported third-party plugins.
Individual actions can be triggered independently.

### Why does it take so long to clear the cache sometimes?

Clearing cache is not just a single action. When you click “Clear All,” the plugin
may be flushing multiple cache layers: object cache, persistent cache (Redis/Memcached),
OPcache, reverse proxies like Varnish, REST caches, transients, sessions, and third-
party integrations. Each layer operates differently and may require disk I/O, memory
resets, or network requests.

On larger sites, clearing cache can take longer because:

• Persistent object caches may contain thousands of keys that must be invalidated.
•
OPcache must reload compiled PHP scripts into memory. • Reverse proxies and CDNs
require network-based purge requests. • Transients and fragment caches may involve
large amounts of stored data.

After cache is cleared, the site must rebuild it. Themes and plugins will:

• Re-run expensive database queries.
 • Recompile templates. • Regenerate CSS/JS
assets. • Rebuild REST responses. • Recreate transients and computed data.

This recaching happens on the next page load and can temporarily slow down the first
request after a purge. That is expected behavior.

If you find that clearing everything takes longer than you prefer, certain actions(
such as Transients) can be disabled from the “Clear All” button and admin bar in
the settings. They can still be cleared independently from the settings page when
needed.

In some cases, you may not need to clear every layer. For example, content edits
typically do not require transients or OPcache to be reset. Selectively clearing
only what is necessary can significantly reduce execution time.

### Does this work with all hosting providers?

This depends on your hosting provider. If they offer a cache purge URL, you can 
configure it in the plugin settings. For example, if you have GoDaddy’s Website 
Security and Backups, you can navigate to Firewall > Settings > Performance > Clear
Cache, then grab the Clear Cache API link to put in your settings.

### Will this force browsers to load fresh content?

Yes! The plugin sends cache-control headers to prompt browsers to reload updated
content.

### Can I add custom cache clearing actions?

Yes. Developers can hook into the clearing process to add custom actions or settings.
Full developer documentation is available here:

https://pluginrx.com/docs/plugin/clear-cache-everywhere/

### Is there a function to trigger clearing cache everywhere?

Yes! A helper function is available for you to use: `cceverywhere_clear_all( $log_results
= false )`.

The function returns the results of the cache clearing processing. Optionally, you
can log the results by setting the `$log_results` parameter to `true`. This will
log the results to the debug log.

### Where can I request features and get further support?

We recommend using our [website support forum](https://pluginrx.com/support/plugin/clear-cache-everywhere/)
as the primary method for requesting features and getting help. You can also reach
out via our [Discord support server](https://discord.gg/3HnzNEJVnR) or the [WordPress.org support forum](https://wordpress.org/support/plugin/clear-cache-everywhere/),
but please note that WordPress.org doesn’t always notify us of new posts, so it’s
not ideal for time-sensitive issues.

## Reviews

![](https://secure.gravatar.com/avatar/a31cd68e1c5de1a15c4a31dd99cc0e9eb0eb4f2aaedd3d3025a1e22d928b9a32?
s=60&d=retro&r=g)

### 󠀁[Perfect Cache Purge Plugin](https://wordpress.org/support/topic/perfect-cache-purge-plugin/)󠁿

 [Skrlance](https://profiles.wordpress.org/seanlance/) March 16, 2026 1 reply

I was struggling to purge souin cache on its custom api where no other cache purge
plugin supported it but this plugin has purge option on custom api and it is working,
while this plugin also has option to purge cache of various others such as opcache,
redis, cf, etc which makes this a perfect cache purge plugin. Moreover it is very
lightweight and does the work without being bloated.

 [ Read all 1 review ](https://wordpress.org/support/plugin/clear-cache-everywhere/reviews/)

## Contributors & Developers

“Clear Cache Everywhere” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ PluginRx ](https://profiles.wordpress.org/apos37/)

[Translate “Clear Cache Everywhere” into your language.](https://translate.wordpress.org/projects/wp-plugins/clear-cache-everywhere)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/clear-cache-everywhere/),
check out the [SVN repository](https://plugins.svn.wordpress.org/clear-cache-everywhere/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/clear-cache-everywhere/)
by [RSS](https://plugins.trac.wordpress.org/log/clear-cache-everywhere/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2.1

 * Update: Added option to clear Cloudflare cache

#### 1.2.0

 * Update: Added `cceverywhere_​before_​clear` and `cceverywhere_​after_​clear` 
   hooks
 * Update: `cceverywhere_before_clear_cache` and `cceverywhere_after_clear_cache`
   removed
 * Update: `cceverywhere_custom_settings` hook updated to accept `run_context` and`
   callback` hooks, please see updated developer docs
 * Update: Added animated border to admin bar while it’s clearing cache
 * Update: Moved some actions to ajax while leaving sessions, cookies, and browser
   cache for page reloads
 * Update: Added descriptions to each action
 * Update: Added individual clear buttons to each action
 * Update: Added logging of last results, displayed on settings page
 * Update: Removed notices and `show_skipped_notice` hook
 * Update: Added opcache_reset, varnish, redis_memcached, fragment_cache, and rest_api_cache

#### 1.1.1

 * Tweak: Update admin bar spacing

#### 1.1.0

 * Update: New support links

#### 1.0.2.1

 * Fix: Sanitized cookie names
 * Update: Moved scripts and styles to enqueue

#### 1.0.2

 * Update: Updated author name and website per WordPress trademark policy

#### 1.0.1

 * Initial Release on March 19, 2025

## Meta

 *  Version **1.2.1**
 *  Last updated **6 days ago**
 *  Active installations **300+**
 *  WordPress version ** 5.9 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/clear-cache-everywhere/)
 * Tags
 * [admin bar](https://co.wordpress.org/plugins/tags/admin-bar/)[cache](https://co.wordpress.org/plugins/tags/cache/)
   [clear cache](https://co.wordpress.org/plugins/tags/clear-cache/)[flush cache](https://co.wordpress.org/plugins/tags/flush-cache/)
   [performance](https://co.wordpress.org/plugins/tags/performance/)
 *  [Advanced View](https://co.wordpress.org/plugins/clear-cache-everywhere/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/clear-cache-everywhere/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/clear-cache-everywhere/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/clear-cache-everywhere/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/clear-cache-everywhere/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/clear-cache-everywhere/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/clear-cache-everywhere/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/clear-cache-everywhere/reviews/)

## Contributors

 *   [ PluginRx ](https://profiles.wordpress.org/apos37/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/clear-cache-everywhere/)