Petra
AI assistant for GrootMade
Hi! I'm Petra 👋 Ask me to help you find the perfect WP plugin, theme, or template kit.
forked from WP-CLI Clear OPcache™
VoidCache Purge is not affiliated with WP-CLI Clear OPcache. The name and any related trademarks are used solely for nominative descriptive purposes.
This WP-CLI package provides a command to clear the OPcache for a site using an HTTP request. It is designed for developers and system administrators who manage sites using the command line and need to control PHP opcode caching without direct server access.
Clear OPcache command: Execute a single command to clear the entire OPcache for the site, ensuring new code changes are reflected immediately. Invalidate specific scripts: Target and invalidate individual cached PHP files, useful for selective updates without a full cache reset. HTTP-based operation: Clears the cache by sending a request to the site, making it functional even in environments where direct server commands are restricted. WP-CLI integration: Works as a standard WP-CLI extension, allowing use within existing automation scripts and deployment workflows. Simple installation: Can be installed via Composer, integrating quickly into projects that already use WP-CLI for management.