- Details
- Getting Started
- Changelog
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.
The following clearing actions are available:
- 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.
- APCu Cache – Clears the APCu user cache, a PHP data cache separate from OPcache.
- 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.
- Cloudflare Cache – Purges all Cloudflare-cached content via the Cloudflare API.
- Generic CDN Cache – Purges cache via a configured CDN endpoint and API key.
Integrations:
The plugin already supports clearing cache for the following third-party plugins:
- Autoptimize
- Breeze (Cloudways)
- Cache Enabler
- Cachify
- Cloudflare
- Comet Cache
- Cornerstone
- Elementor
- Hummingbird
- Kinsta
- LiteSpeed Cache
- Nginx Helper
- NitroPack
- Object Cache Pro
- Pantheon Advanced Page Cache
- Powered Cache
- Rocket.net
- SiteGround Optimizer
- SpinupWP
- Swift Performance
- W3 Total Cache
- WP Cloudflare Super Page Cache
- WP Engine
- WP Fastest Cache
- WP Rocket
- WP Super Cache
- WP-Optimize
This plugin is ideal for developers, content managers, and site owners who need immediate cache flushing across multiple layers.
Demo
Screenshots
FAQ
How does this plugin clear cache?
Why does it take so long to clear the cache sometimes?
Does this work with all hosting providers?
Will this force browsers to load fresh content?
Can I add custom cache clearing actions?
Is there a function to trigger clearing cache everywhere?
Where can I request features and get further support?
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.
What Next?
How-To GuideDeveloper Docs1.2.3
- Fix: Nginx Helper integration was calling a non-existent function; now uses the correct `rt_nginx_helper_purge_all` action hook
- Fix: Hummingbird integration used `function_exists()` on a class method, which never evaluates true; now uses `method_exists()`
- Update: Added Breeze, NitroPack, and Pantheon Advanced Page Cache existence guards to their clearing methods and settings field registration
- Update: Added Cache Enabler, SpinupWP, Cachify, Powered Cache, Rocket.net, Object Cache Pro, and WP Cloudflare Super Page Cache integrations
- Update: Added generic CDN purge action (purge URL + API key) for CDNs without a dedicated integration
- Update: All integration settings fields now verify the target plugin's function/class/hook actually exists before displaying, in addition to `is_plugin_active()`, so unverified or version-mismatched integrations no longer surface as failing checkboxes
1.2.2.1
- Fix: Cornerstone integration wasn't working on X Theme Pro
1.2.2
- Fix: `cceverywhere_clear_all()` helper function now correctly supports the `$log_results` parameter
- Fix: Custom callbacks on page-context actions now fire correctly
- Fix: Hummingbird cache detection now uses `method_exists()` instead of `function_exists()`
- Fix: Added capability check to `clear_all()` for requests coming through the URL parameter
- Fix: Auth cookies `wordpress_sec_*` and `wp-settings-*` are now preserved when clearing cookies
- Fix: Removed invalid `href` attribute from Clear Cache button on settings page
- Performance: `get_clearing_actions()` now caches its result to avoid redundant calls per request
- Developer: Added `cceverywhere_clearing_actions` filter to allow modifying the actions array programmatically
- Update: Clarified readme description of available clearing actions
- Update: Added APCu cache clearing action
- Update: Added Breeze (Cloudways) integration
- Update: Added WP Engine cache integration
- Update: Added Kinsta cache integration
- Update: Added NitroPack integration
- Update: Added Pantheon Advanced Page Cache integration
- Update: Clarified readme description of available clearing actions
1.2.1.1
- Compatibility: Increased minimum required WordPress version to 6.0
- Compatibility: Tested with WordPress 7.0
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
