Object Cache Annihilator
A simple file-based object cache implementation for testing purposes.
by WP SYNTEX · github.com/polylang/object-cache-annihilator · website
★ 0stars
37kcomposer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/polylang/object-cache-annihilator/archive/refs/heads/master.zipAlso on Packagist as wpsyntex/object-cache-annihilator:
composer require wpsyntex/object-cache-annihilatorFrom the readme
Object Cache Annihilator
A simple file-based object cache implementation for WordPress, designed for testing purposes. This plugin provides a convenient way to test and debug WordPress object cache functionality.
Features
- File-based object cache implementation
- Easy enable/disable through admin bar
- Cache flushing capabilities
- Support for cache groups and expiration
- Admin interface for cache management
Requirements
- WordPress 6.2 or higher
- PHP 7.2 or higher
- Write permissions to the wp-content directory
Installation
1. Follow the instructions in the Distribution section to build the plugin
2. Upload the plugin files to the /wp-content/plugins/object-cache-annihilator directory
3. Activate the plugin through the 'Plugins' menu in WordPress
Usage
Once activated, you'll see a new menu item in the admin bar:
- Object Cache ☠️: Main menu item
- Die 🔫: Disable the object cache
- Resurrect 👻: Enable the object cache
- Flush 🚽: Clear all cached data (only available when cache is enabled)
Development
Setup
1. Clone the repository
2. Run composer install to install dependencies
3. Run npm install to install development dependencies
Development Environment
The