Anti-Cache Kit

Description

Anti-Cache Kit is a development tool for WordPress developers and designers who need to bypass all caching and optimization mechanisms during development, testing, or troubleshooting.

Development tool only. Do not leave active on production sites.

Key features

Cache and optimization management

  • Automatically detects, flushes, and deactivates 20+ cache plugins
  • Removes cache drop-ins (object-cache.php) so caches that keep working through a drop-in actually stop
  • Deactivates optimization plugins that interfere with debugging (Perfmatters, FlyingPress, WP Asset CleanUp, and more)
  • Never deactivates Query Monitor, the debugging tool you need while troubleshooting
  • Clears object cache (Redis, Memcached) and OPcache
  • Clears hosting-specific caches (SiteGround, Cloudflare, Kinsta, and Varnish on demand)
  • Prevents browser caching for administrators

Server-level cache prevention

  • Injects .htaccess rules via the WordPress markers API, no backup file needed
  • Disables SiteGround cache via environment variables
  • Sets no-cache, no-store headers at server level for all visitors
  • Disables ETags and mod_expires to prevent conditional caching
  • Sends CDN/proxy bypass headers (X-Accel-Expires, Surrogate-Control)
  • Detects nginx and Caddy and skips rules that would not apply there, offering an equivalent nginx snippet to copy instead
  • Cleanly removes only its own rules on deactivation, leaving the rest of .htaccess untouched