Manages the internal WP-CLI cache,.
EXAMPLES EXAMPLES
# Remove all cached files.
$ wp cli cache clear
Success: Cache cleared.
# Remove all cached files except for the newest version of each one.
$ wp cli cache prune
Success: Cache pruned.
SUBCOMMANDS SUBCOMMANDS
Name | Description |
---|---|
wp cli cache clear | Clears the internal cache. |
wp cli cache prune | Prunes the internal cache. |
Command documentation is regenerated at every release. To add or update an example, please submit a pull request against the corresponding part of the codebase.