Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wearerequired/wp-cli-clear-opcache
🔧 Use WP-CLI to clear the OPcache for a site via HTTP.
https://github.com/wearerequired/wp-cli-clear-opcache
opcache wordpress-plugin wp-cli
Last synced: about 1 month ago
JSON representation
🔧 Use WP-CLI to clear the OPcache for a site via HTTP.
- Host: GitHub
- URL: https://github.com/wearerequired/wp-cli-clear-opcache
- Owner: wearerequired
- License: gpl-2.0
- Created: 2017-07-12T21:45:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-09-18T01:01:22.000Z (over 1 year ago)
- Last Synced: 2024-10-30T02:32:39.773Z (about 2 months ago)
- Topics: opcache, wordpress-plugin, wp-cli
- Language: PHP
- Homepage:
- Size: 70.3 KB
- Stars: 17
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
WP-CLI Clear OPcache
=========================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`.