manifest / performance / wp-cli-clear-opcache
WP-CLI Clear OPcache WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
🔧 Use WP-CLI to clear the OPcache for a site via HTTP.
★ 17stars
39kcomposer installs
1.0.1latest · 8 years ago
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/wearerequired/wp-cli-clear-opcache/archive/refs/heads/master.zipOn Packagist as wearerequired/wp-cli-clear-opcache:
composer require wearerequired/wp-cli-clear-opcacheNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Use WP-CLI to clear the OPcache for a site via HTTP.
Usage
# Clear the OPcache for the website.
$ wp opcache clear
# Invalidate a cached script.
$ wp opcache invalidate 'foo/bar.php'
Installation
Installing this package requires WP-CLI to be installed on your server. Update to the latest stable release with wp cli update.
Once you've done so, you can install this plugin with composer require wearerequired/wp-cli-clear-opcache.
Releases
2 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.