wp cache flush
Clear the entire WordPress object cache using WP-CLI — essential after migrations, imports, and plugin changes.
wp cache type
Check which WordPress object cache backend is currently active using WP-CLI.
wp cache get
Read a specific value from the WordPress object cache using WP-CLI — for debugging and inspection.
wp cache set
Write a value to the WordPress object cache using WP-CLI — for testing, warming, and debugging.
wp cache add
Add a value to the WordPress object cache only if the key does not already exist using WP-CLI.
wp cache delete
Remove a specific entry from the WordPress object cache by key and group using WP-CLI.