Flushing cache programmatically resets cache engine
-
We added a WP CLI command in our deploy script, so we don’t need to flush the cache manually after every edit.
php wp-cli.phar w3-total-cache flush all
This flushes the cache correctly, but also resets the page cache method. We use Redis, but after every deploy the method is set to Disk enhanced. How can we fix this? Already tried looking incli.php
if there is a command to change this setting after flushing, but no luck yet.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Flushing cache programmatically resets cache engine’ is closed to new replies.