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

advanced cache options please :)

Open tgmedia-nz opened this issue 7 years ago • 4 comments

Hey guys,

great tool, is it a big task to add activating the advanced cache setup with defaults?

tgmedia-nz avatar Feb 28 '18 03:02 tgmedia-nz

@tgmedia-nz Do you have a specific plan?

szepeviktor avatar Feb 28 '18 04:02 szepeviktor

I'd like to enable advanced cache with 'update htaccess' etc - we have a big amount of sites to update and really wanted to use wp-cli to get this done.

At the moment, from my understanding and correct me if I'm wrong, if I run wp super-cache enable it'll enable the 'easy' mode, whereas I'd like to trigger it doing the advanced mode (possibly reading the wp-cache-config.php).

IDeas?

tgmedia-nz avatar Feb 28 '18 04:02 tgmedia-nz

ideas?

tgmedia-nz avatar Mar 06 '18 03:03 tgmedia-nz

I've created PR #592 in WPSC repository. It fixes few issues related to compatibility between WPSC and WP-CLI. After we merge it and fix #16 then it's possible to improve commands. For now, wp super-cache disable doesn't fully disable caching (it disables only supercache but not wp-cache).

One of new command could be super-cache mod_rewrite enable/disable/update, super-cache mode wp-cache/super-cache or super-cache enable/disable [wp-cache|super-cache|mod_rewrite] ...

stodorovic avatar Aug 17 '18 06:08 stodorovic