-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Allow clear:cache to clear all caches at once #26
Comments
Since custom cache folders cannot be called with the I would also prefer the default to be |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
clear:cache
prompts for the name for the cache to clear and defaults to thepages
cache. However, there's no way to just clear all caches at once. This would be great to have – for example, to clear all existing caches in a deployment script.Beyond that, as far as I can tell, the command can only clear caches under
cache/[domain]/
. For example,kirby clear:cache pages
clears thecache/[domain]/pages
folder. Is it possible to have the command clear caches that live in thecache/
directory? The Twig plugin stores the compilation cache undercache/twig
, but callingkirby clear:cache twig
doesn't clear it out.The text was updated successfully, but these errors were encountered: