Home Plugins the cache purger
The Cache Purger logo

The Cache Purger

by Kevin Pirnie on WordPress.org

Automatically purge every server-side cache on your WordPress site — plugins, hosting environments, PHP, memory stores, and CDNs — all from one place.

(5)
Settings — General purge configuration and trigger options

Settings — General purge configuration and trigger options

The Cache Purger takes the headache out of cache management. Instead of juggling a dozen different cache-clearing buttons across your stack, this plugin hooks into WordPress actions and fires them all at once — automatically, on a schedule, or with a single click from the admin bar.

It covers the full spectrum: popular caching plugins, managed hosting environments, PHP-level caches (OPcache, APC, WinCache), server-level caches (Nginx, Varnish, PageSpeed), in-memory stores (Redis, Memcache, Memcached), and external CDN/WAF APIs (Cloudflare, Sucuri, Fastly).

Every purge is configurable. Choose which cache types to include, which WordPress events should trigger a purge, and which specific posts, pages, CPTs, or field groups to exclude. You can also run purges on a WP Cron schedule, or kick one off manually via WP-CLI.

What Gets Purged

Caching Plugins

Flying Press, SiteGround Optimizer, Nginx Helper, LiteSpeed Cache, Cachify, Autoptimize, Fast Velocity Minify, WP Rocket, Swift Performance, Comet Cache, Hummingbird, WP Fastest Cache, WP Super Cache, W3 Total Cache, Hyper Cache, WP-Optimize, Cache Enabler, NitroPack, Divi, Elementor, WP REST Cache, and more.

Hosting Environments

WP Engine, Kinsta, GoDaddy Managed WordPress, Pantheon, Bluehost, Cloudways (Breeze), SiteGround, RunCloud, SpinupWP.

Some of these rely on the host’s companion plugin being installed. Check with your provider if you’re unsure.

Server & PHP Caches

Zend OPcache, APC/APCu, WinCache, XCache, Nginx (fastcgi/proxy cache), PageSpeed Module, Varnish, static file caches.

Memory Stores

Redis, Memcache, Memcached — with support for remote servers, authentication, per-database flushing, and prefix/key-scoped clearing.

CDN & WAF APIs

Cloudflare (full cache purge via API token), Sucuri WAF, Fastly CDN.

WordPress Built-In

Object cache, options cache, transients, persistent object cache.

Purge Triggers

Configure purges to fire automatically on any combination of the following WordPress events:

  • Post save / update / trash
  • Page save / update / trash
  • Custom Post Type save / update / trash
  • Taxonomy / term save / delete
  • Category save / delete
  • Menu save / delete
  • Widget save / delete
  • Customizer save
  • GravityForms form save / trash (requires GravityForms)
  • Advanced Custom Fields field group save / trash (requires ACF)
  • WooCommerce settings save (requires WooCommerce)
  • Plugin activation / deactivation
  • Core / plugin / theme updates
  • Plugin settings save (this plugin’s own settings page)

Exclusion lists are available for posts, pages, CPTs, GravityForms forms, and ACF field groups — so you can carve out anything that shouldn’t trigger a purge.

Additional Features

  • Admin bar button — Master Cache Purge available on every admin page, one click from anywhere.
  • Purge log — Optional logging of every purge action to wp-content/purge.log, viewable directly in the settings UI with a one-click clear.
  • Scheduled purges — WP Cron / Action Scheduler integration with any built-in schedule.
  • Scheduled log clearing — Keep your log file tidy on its own schedule.
  • Export / Import settings — Move your configuration between sites in seconds.
  • Multisite aware — Cannot be network-activated by design; activate per-subsite for granular control.
Active installations1K+
Weekly downloads
119+17.82%
Version2.2.86
Last updated3/22/2026
WordPress version6.0
Tested up to7.0
PHP version8.2
Tags
cachecache purgingcachingperformancepurge cache