The Cache Purger source code

By Kevin Pirnie, on WordPress.org since 2021. 1,000+ active installs.

Browse code Download zip

The Cache Purger takes the headache out of cache management. Below is its source code for every one of its 14 releases, what changed in the latest one, and how often it ships.

What changed in 2.3.59

Released Sep 2, 2026, 2 weeks after 2.3.40
  • Fix: Stop the file purge from deleting the WP Super Cache plugin directory
  • Fix: redis connect/auth/select and catch throwables in the redis purge
  • Fix: the pagespeed header detection so the purge actually runs
  • Fix: Send the varnish purge Host header using the correct HTTP API key
  • Fix: Guard the nginx cache globs against a false return
  • Fix: Keep the php cache slug list intact across multiple purges in one request

1133 files changed since 2.3.40: 1121 modified, 10 added, 2 removed.

And 1123 more.

Compare 2.3.40 with 2.3.59

Release history

14 releases since September 2025
  1. 2.3.59 Sep 2, 2026 Fix: Stop the file purge from deleting the WP Super Cache plugin directory
  2. 2.3.40 Aug 13, 2026 Fix version tested bump back to 7.1 7.2 is in too early stages to use
  3. 2.3.39 Aug 13, 2026 Verify: WP Core 7.2
  4. 2.3.21 Jul 11, 2026 Fix: Permissions for Log purging in admin bar
  5. 2.3.03 Jun 18, 2026 Fix: pre-unslashing purge querystrings
Full The Cache Purger changelog with diffs

Source of 2.3.59

2,498 files
Browse all The Cache Purger 2.3.59 files Browse trunk