You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 text was updated successfully, but these errors were encountered:
Since custom cache folders cannot be called with the $kiby->cache() method, it makes sense to remove the /cache/domain folder when all is selected.
I would also prefer the default to be all instead of pages, so if propmt is left empty the entire /cache/domain folder should be deleted. But this includes breaking change.
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: