wp-super-cache-cli icon indicating copy to clipboard operation
wp-super-cache-cli copied to clipboard

Flushing doesn't work in multisite

Open mackensen opened this issue 7 years ago • 1 comments

The flush command doesn't do anything in multisite. Given this syntax:

wp super-cache flush --url=your.sample.domain

I'd expect the files within cache/supercache/your.sample.domain to be removed. Although the command reports "Success: Cache cleared", no files are actually removed. WP Super Cache works correctly from the public interface.

mackensen avatar Feb 11 '18 16:02 mackensen

Do you try to set a global parameter --user to network admin login? wp super-cache flush --user="networkadmin_username" In this case the command removes all cache from all blogs. Im not sure if --url works in this command.

oolleegg55 avatar May 07 '20 10:05 oolleegg55