wp cli cache <command>

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.

Top ↑

SUBCOMMANDS SUBCOMMANDS

Name Description
wp cli cache clear

Clear the internal cache.

wp cli cache prune

Prune 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.