WP-CLI

The command line interface for WordPress.

WP-CLI is the official command-line interface for WordPress. The Docket Cache extends default wp cache command with additional sub-commands.

The following command supported:

cache status

Show the Docket object cache status.

wp cache status

cache enable

Enables the Docket object cache. The default behaviour is to create the object cache drop-in and replace any object cache drop-in is present.

wp cache enable

cache disable

Disables the Docket object cache. The default behaviour is to delete the object cache drop-in unless an unknown object cache drop-in is present.

wp cache disable

cache update

Updates the Docket object cache drop-in. The default behaviour is to overwrite any existing object cache drop-in.

wp cache update

cache flush

Flushes the object cache.

wp cache flush

cache gc

Run garbage collector

wp cache gc

cache unlock

Remove all internal lock files

cache unlock

‚Äč