Using WP-CLI: wp cache flush VS. wp w3-total-cache flush all
-
Working on an inherited site which uses W3 Total Cache; first time w/ this plugin. Have searched the support forum for all wp cli related issues, but can find no answer to this question.
Using WP-CLI for items like db export/import and search-replace.
Normally after search-replace, would clear WP cache using:
wp cache flushWith W3 Total Cache active, this does not do enough after a URL change to database…
Have just dug in to learn WP-CLI method for W3 Total Cache:
wp w3-total-cache flush allIs it necessary to clear both caches in this scenario? In other words, with W3 Total Cache installed, does one still need to run ‘wp cache flush’ before running ‘wp w3-total-cache flush all’?
Thanks for any insight you can provide!
The topic ‘Using WP-CLI: wp cache flush VS. wp w3-total-cache flush all’ is closed to new replies.