Linux 软件免费装
Banner图

The Cache Purger

开发者 kevp75
更新时间 2026年3月7日 03:10
捐献地址: 去捐款
PHP版本: 8.2 及以上
WordPress版本: 7.0
版权: GPLv3
版权网址: 版权信息

标签

caching cache performance purge cache cache purging

下载

1.6.04 1.7.11 2.1.01 2.1.48 2.1.36 2.1.63 0.3.98 1.3.11 1.5.22 0.7.21 0.8.09 0.8.88 1.4.02 0.5.57 0.6.02 0.4.15 0.7.16 0.4.37 0.7.22 1.0.27 1.1.01 1.2.66 1.2.79 1.6.03 1.8.01 1.5.12 1.5.99 1.7.33 1.9.27 1.9.89 2.0.11

详情介绍:

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: 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

安装:

  1. Download the plugin, unzip it, and upload to your site's /wp-content/plugins/ directory.
  2. Alternatively, upload the zip directly via Plugins > Add New > Upload Plugin.
  3. Or search for "The Cache Purger" in the WordPress Plugin Repository and install from there.
  4. Activate the plugin through the Plugins menu in WordPress.
  5. Navigate to The Cache Purge in your admin menu to configure settings.
Requirements: PHP 8.2 or higher. WordPress 6.0 or higher.

屏幕截图:

  • Settings — GravityForms and ACF options (shown when those plugins are active)
  • API/Server Settings — Remote Redis, Memcache, Memcached, and CDN/WAF API keys
  • CRON Action Settings — Scheduled purge and log clearing configuration
  • The Purge Log — Live log viewer with manual clear button

常见问题:

Why would I need this plugin?

If you find yourself manually clearing caches in multiple places after every site update — or if you want to automate that process entirely — this plugin handles it all from one settings screen. It's especially useful on sites with complex stacks: a CDN in front, a caching plugin active, and a server-level cache underneath.

Which cache types are purged by default?

On a fresh install, Plugin Caches, WordPress Caches, Server Caches, and Memory Caches are all enabled. API/CDN caches (Cloudflare, Sucuri, Fastly) are opt-in, since they require API credentials.

How do I set up Cloudflare, Sucuri, or Fastly purging?

Go to The Cache Purge > API/Server Settings, enter your credentials, and make sure "API Caches" is included in your Caches To Purge selection on the Settings tab.

How do I configure remote Redis, Memcache, or Memcached servers?

Also under API/Server Settings. Enable the relevant toggle, then add your server IP(s), port(s), and any authentication or database details. Multiple servers are supported.

Can I exclude specific posts or pages from triggering a purge?

Yes. When you enable purging for posts, pages, or CPTs, an exclusion selector appears below it. Any content selected there will be ignored when saved or updated.

How do I run a purge from the command line?

wp the_cache purge Add --allow-root if running as root. On a multisite, add --url=https://yoursite.com to target a specific subsite.

Why can't this plugin be network-activated on a multisite?

By design. Activating per-subsite gives each site its own independent configuration, which is almost always what you want in a multisite environment.

Where is the purge log stored?

At {ABSPATH}wp-content/purge.log. Enable logging under Settings > Log Purge Actions? and it will be viewable directly in the The Purge Log tab. You can clear it manually from that tab, or set it to auto-clear on a schedule under CRON Action Settings.

更新日志:

2.1.63 2.1.36 2.1.01 2.0.11 1.9.89 1.9.27 1.8.01 1.7.33 1.7.12 1.7.11 1.6.04 1.6.03 1.5.99 1.5.22 1.5.12 1.4.02 1.3.11 1.2.79 1.2.66 1.1.01 1.0.27 0.8.88 0.8.09 0.7.16 0.4.15 0.3.98 0.1.01