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

WP CLI support #116

Closed
hellor0bot opened this Issue Nov 9, 2017 · 2 comments

Comments

2 participants
@hellor0bot

hellor0bot commented Nov 9, 2017

Hi,

Thanks for the awesome plugin!

Could you probably add some WP CLI commands? I'm running a multisite and it's a pain to purge all caches on every website manually.

Would be awesome if we could use something like wp autoptimize purge --network to purge all caches from the multisite network sites.

Thanks!

@futtta

This comment has been minimized.

Show comment
Hide comment
@futtta

futtta Nov 9, 2017

Owner

no WP CLI (yet) @hellor0bot , but you could simply do rm -rf /var/html/yourmultisite/wp-content/cache/autoptimize/* and your cache would be purged? :-)

Owner

futtta commented Nov 9, 2017

no WP CLI (yet) @hellor0bot , but you could simply do rm -rf /var/html/yourmultisite/wp-content/cache/autoptimize/* and your cache would be purged? :-)

@hellor0bot

This comment has been minimized.

Show comment
Hide comment
@hellor0bot

hellor0bot Nov 9, 2017

@futtta Thanks, didn't know it was safe to simply remove the files.

hellor0bot commented Nov 9, 2017

@futtta Thanks, didn't know it was safe to simply remove the files.

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