The clear:cache prompts for the name for the cache to clear and defaults to the pages 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 the cache/[domain]/pages folder. Is it possible to have the command clear caches that live in the cache/ directory? The Twig plugin stores the compilation cache under cache/twig, but calling kirby clear:cache twig doesn't clear it out.
The
clear:cacheprompts for the name for the cache to clear and defaults to thepagescache. 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 pagesclears thecache/[domain]/pagesfolder. 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 twigdoesn't clear it out.