Plugin Banner
Plugin Icon

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 WordPress object cache, page cache, all transients, and sessions with a single click.
  • Browser Cache Clearing: Forces all visitors to reload fresh content by invalidating the browser cache.
  • Admin Bar Access: Provides quick cache purging directly from the WordPress admin bar with an easy-to-use button (eraser icon).
  • Hosting Integration: Optionally clears hosting-level cache if a purge URL is provided in the settings.
  • Third-Party Support: Clears cache for various supported plugins, such as Elementor, Cornerstone, and other integrations.
  • Developer Hooks: Developers can customize the cache clearing process using hooks to add more integrations or actions.

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

  • Flush Rewrite Rules: Clears WordPress rewrite rules to immediately reflect changes to permalinks.
  • Clear WordPress Object Cache: Clears the object cache in WordPress if enabled.
  • Clear All Transients: Deletes all stored transients in the WordPress database.
  • Destroy PHP Sessions: Clears PHP sessions if enabled.
  • Clear Cookies: Clears all cookies except those related to logged-in users (wordpress_logged_in_*).
  • Force Browser Cache Invalidation: Sends headers to force the browser to reload fresh content.
  • Clear Hosting-Level Cache: Optionally calls a purge URL to clear hosting-level cache if a URL is provided.

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.

Screenshots

Settings page and admin bar button.
Settings page and admin bar button.

FAQ

How does this plugin clear cache?

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 Docs

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

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.