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

clear-all-cache command #28

Open
cagrimmett opened this issue Apr 24, 2024 · 0 comments
Open

clear-all-cache command #28

cagrimmett opened this issue Apr 24, 2024 · 0 comments

Comments

@cagrimmett
Copy link
Contributor

Feature request: A platform agnostic clear-all-cache command.

It would be nice if we could run team51 clear-all-cache <site url> and have the plugin abstract it all away for us.

First it detects the platform (wpcom, Pressable, or VIP), then calls the appropriate APIs form there.

It should handle:

  • Object cache
  • Edge cache (if enabled)
  • Rewrite rules wp rewrite flush
  • CDN cache
  • most popular caching plugins
    • Something like "if X plugin is active, call the cache flush functions"
  • If the Cloudflare plugin is active on the site, purge the Cloudflare cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant