by Fernando Tellado on WordPress.org
Instantly disables all caches, enables debug mode, and provides maintenance mode for safe WordPress development and troubleshooting.

Plugin activation notice showing all performed actions
Anti-Cache Emergency Kit is the ultimate tool for WordPress developers and designers who need to bypass all caching mechanisms during development, testing, or troubleshooting.
⚠️ Development Tool Only – Do NOT leave active on production sites!
🔧 Comprehensive Cache Management
* Automatically detects and flushes major cache plugins
* Temporarily deactivates cache plugins during development (user can easily reactivate)
* Clears object cache (Redis, Memcached)
* Clears OPcache and hosting-specific caches
* Prevents browser caching for administrators
🛠 Debug Mode Activation
* Creates automatic backup of wp-config.php before any changes
* Safely modifies wp-config.php using WordPress Filesystem API
* Automatically enables WP_DEBUG, WP_DEBUG_LOG, WP_DEBUG_DISPLAY
* Disables WordPress cache (WP_CACHE = false)
* Shows PHP errors and warnings for troubleshooting
* Automatically restores original wp-config.php on deactivation
🛠️ Maintenance Mode
* Optional simple maintenance screen for non-logged users
* Prevents visitors from seeing development errors
* Quick toggle from admin bar
* Customizable maintenance message
Admin-Only Impact
* All anti-cache measures only affect logged-in administrators
* Regular visitors see the normal cached site (unless maintenance mode is enabled)
* Perfect for live site development
Smart Management Panel
* View current status and active features
* Easy one-click reactivation of cache plugins
* Manual cache clearing options
* Clear overview of what was changed
After activating the plugin, verify each feature is working correctly:
/wp-content/plugins/anticache/backup/wp-config-backup.php exists to a theme file/wp-content/debug.log file creationWP_CACHE is set to false in wp-config.phpIf any feature isn’t working, check the debug.log file for error messages or contact support.
ayudawp_anticache_maintenance_data – Filter to customize maintenance page dataayudawp_anticache_cache_plugins – Filter to modify the list of supported cache pluginsAYUDAWP_ANTICACHE_VERSION – Plugin versionAYUDAWP_ANTICACHE_PLUGIN_DIR – Plugin directory pathAYUDAWP_ANTICACHE_PLUGIN_URL – Plugin directory URLCustomize maintenance page:
add_filter( 'ayudawp_anticache_maintenance_data', function( $data ) {
$data['heading'] = 'Custom Maintenance Message';
$data['message'] = 'We are updating our awesome website!';
$data['accent_color'] = '#ff6b6b';
return $data;
});Support
For support, feature requests, or bug reports, please visit:
* Official website
* WordPress support forum
* YouTube channel
* Documentation and tutorials
This plugin is developed following WordPress coding standards and best practices. Contributions are welcome via the WordPress.org plugin repository.