Descripción
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 and flushes 16+ cache plugins
- Deactivates optimization plugins that interfere with debugging (Perfmatters, FlyingPress, WP Asset CleanUp, and more)
- Clears object cache (Redis, Memcached) and OPcache
- Clears hosting-specific caches (SiteGround, Cloudflare, Kinsta)
- Prevents browser caching for administrators
Server-level cache prevention
- Automatic backup of .htaccess before any modification
- Injects .htaccess rules to disable 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)
- Automatically restores original .htaccess on plugin deactivation
Debug mode activation
- Automatic backup of wp-config.php before any modification
- Enables WP_DEBUG, WP_DEBUG_LOG, WP_DEBUG_DISPLAY
- Disables WordPress cache (WP_CACHE = false)
- Safely modifies wp-config.php using WordPress Filesystem API
- Automatically restores original wp-config.php on plugin deactivation
Maintenance mode
- Optional status page for non-logged visitors
- Quick toggle from admin bar
- Customizable via filter hook
- Self-contained output with aggressive cache prevention headers (503, no-store, Surrogate-Control)
Supported cache plugins
- WP Rocket
- W3 Total Cache
- WP Super Cache
- WP Fastest Cache
- LiteSpeed Cache
- SiteGround Optimizer
- WP Optimize
- Hummingbird (WPMU DEV)
- Breeze (Cloudways)
- Autoptimize
- Cache Enabler
- Surge
- Caché de objetos Redis
- Powered Cache
- Comet Cache
- Swift Performance
Supported optimization plugins
- Perfmatters
- FlyingPress
- WP Asset CleanUp
- Object Cache 4 Everyone
- Zero Config Performance (WPO Tweaks)
- Clearfy
Supported hosting caches
- SiteGround (via .htaccess environment variables and plugin API)
- Cloudflare (both new and legacy namespaces)
- Kinsta
- Sistemas de caché genérica de alojamientos
Información para desarrolladores
Ganchos y filtros
ayudawp_anticache_maintenance_data– Filter to customize maintenance page data (heading, status, message, retry)ayudawp_anticache_cache_plugins– Filter to modify the list of supported cache and optimization plugins
Constantes
AYUDAWP_ANTICACHE_VERSION– Versión del pluginAYUDAWP_ANTICACHE_PLUGIN_DIR– Ruta del directorio del pluginAYUDAWP_ANTICACHE_PLUGIN_URL– URL del directorio del pluginAYUDAWP_ANTICACHE_PLUGIN_BASENAME– Plugin basename for hooks
Code examples
Personalizar la página de mantenimiento:
add_filter( 'ayudawp_anticache_maintenance_data', function( $data ) {
$data['heading'] = 'My Site Name';
$data['status'] = 'Updating...';
$data['message'] = 'We are deploying a new version. Back in a few minutes.';
return $data;
} );
Add a custom cache plugin:
add_filter( 'ayudawp_anticache_cache_plugins', function( $plugins ) {
$plugins['my-cache/my-cache.php'] = array(
'name' => 'My Cache Plugin',
'type' => 'cache',
);
return $plugins;
} );<h3>Support</h3>
¿Necesitas ayuda o tienes sugerencias?
¿Te gusta el plugin? ¡Déjanos un comentario de 5 estrellas y ayuda a correr la voz!
Acerca de AyudaWP
Somos especialistas en plugins de optimización de seguridad, SEO y rendimiento para WordPress. Creamos herramientas que solucionan problemas reales a los propietarios de sitios WordPress manteniendo los más altos estándares de programación y requisitos de accesibilidad.
Capturas de pantalla
Instalación
- Sube los archivos del plugin al directorio
/wp-content/plugins/anticache/. - Activa el plugin a través del menú “Plugins” en WordPress
- The plugin will automatically flush caches, enable debug mode, and inject .htaccess rules
- Visit Tools > Anti-Cache Kit to manage options
- Important: Deactivate when finished developing
FAQ
-
¿Es seguro utilizarlo en un sitio web activo?
-
Yes, with caveats. PHP-level anti-cache measures only affect administrators. However, the .htaccess rules affect all visitors to ensure complete cache bypass. Use maintenance mode to show a status page to visitors during development. Always deactivate when finished.
-
Why does it deactivate optimization plugins?
-
Optimization plugins like Perfmatters, FlyingPress, and WP Asset CleanUp modify how CSS, JS, and other assets are loaded. During debugging, you need to see the unmodified output to identify issues. These plugins are temporarily deactivated. Reactivate them manually from the Plugins page when you are done.
-
What happens to my wp-config.php and .htaccess?
-
Both files are automatically backed up before modification. When you deactivate the plugin, originals are restored.
-
Why does maintenance mode not show in incognito?
-
Version 4.0 injects .htaccess rules that disable server-level caching and sends aggressive cache-busting headers (including CDN and proxy bypass headers) to ensure the maintenance page is always served correctly.
-
¿Puedo personalizar la página de mantenimiento?
-
Yes. Use the
ayudawp_anticache_maintenance_datafilter to customize heading, status text, message, and retry text. -
Can I add support for custom cache plugins?
-
Yes. Use the
ayudawp_anticache_cache_pluginsfilter to add entries to the plugin list.
Reseñas
Colaboradores & Desarrolladores
“Anti-Cache Kit” es software de código abierto. Las siguientes personas han contribuido a este plugin.
Colaboradores“Anti-Cache Kit” ha sido traducido en 2 idiomas. Gracias a los traductores por sus contribuciones.
Traduce “Anti-Cache Kit” a tu idioma.
¿Interesado en el desarrollo?
Revisa el código, echa un vistazo al repositorio SVN, o suscríbete al registro de desarrollo por RSS .
Historial de cambios
4.0.1
Tested up to WordPress 7.0
4.0.0
- Renamed from “Anti-Cache Emergency Kit” to “Anti-Cache Kit”
- Complete UI redesign with dark card theme on WordPress default background
- Added optimization plugin deactivation (Perfmatters, FlyingPress, WP Asset CleanUp, Object Cache 4 Everyone, WPO Tweaks, Clearfy)
- Added server-level .htaccess anti-cache rules (SiteGround env vars, browser cache headers, ETags, mod_expires)
- Added automatic .htaccess backup and restoration on deactivation
- Added early cache-busting headers at plugins_loaded for hosting-level bypass
- Added CDN/proxy bypass headers (X-Accel-Expires, Surrogate-Control, Vary)
- Detailed, AJAX-dismissible activation notice showing all changes made
- Unified admin bar indicator with maintenance toggle and settings dropdown
- All CSS and JS moved to external files in /assets/ directory
- Removed all emoji from code and translation strings
- Self-contained maintenance page with site name as heading and aggressive cache prevention
- Added support for Powered Cache, Comet Cache, and Swift Performance
- Added Kinsta hosting cache clearing
- Implemented ayudawp_anticache_cache_plugins filter
- Added AyudaWP promotional banner with plugin recommendations
- Fixed maintenance page not visible in incognito
- Fixed admin notice persistence
- Improved responsive layout for all screen sizes
3.0.5
- Updated Cloudflare integration to use new namespace (Cloudflare for WordPress v4.14.0+)
- Maintained backwards compatibility with legacy namespace
3.0.3
- Agregada copia de seguridad automática de wp-config.php antes de las modificaciones.
- Agregado WP_CACHE = false para desactivar la caché de WordPress.
3.0
- Agregado un completo panel de administración
- Agregado un modo de mantenimiento opcional para usuarios no conectados
- Added support for more cache plugins
- Added object cache clearing
1.0
- Versión inicial





