Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

advanced cache options please :) #19

Open
tgmedia-nz opened this issue Feb 28, 2018 · 4 comments
Open

advanced cache options please :) #19

tgmedia-nz opened this issue Feb 28, 2018 · 4 comments

Comments

@tgmedia-nz
Copy link

Hey guys,

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

@szepeviktor
Copy link

@tgmedia-nz Do you have a specific plan?

@tgmedia-nz
Copy link
Author

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
Copy link
Author

ideas?

@stodorovic
Copy link
Contributor

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] ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants