Kirby creates different caches for domains with/without www:
π site
π cache
π example.com
π www.example.com
A client recently noticed that the cache of a page does not get flushed for both variants when editing content in the panel. So when I edit the page on example.com/panel
, only site/cache/example.com
is flushed. A visitor on www.example.com
will still see the old version until someone edits something on www.example.com/panel
.
For now I simply force www
as itβs a good idea anyway. But maybe Kirby should flush both folders? Or maybe it would make sense to add a warning to the cache docs?