Hi Erlend,
Thanks for the question.
The change detection is based on being logged in and making a post (sending some type of information). When this happens I was clearing the disk cache, but the memory cache still had the old information. I have now tied the two together where one will trigger the other so that both memory and disk cache will be refreshed together. I have also made it so that the refreshing of the cache happens asynchronously (in the background), so that the page will still be delivered in "normal uncached" time.
The refresh can also happen by holding CTRL and clicking refresh (or CTRL+F5).
Any user can intiate this type of cache refresh and it closely mimics the way web caching works through proxy servers, etc.
Usually, you will set the disk cache at a higher limit for size and duration, that way your most used pages can stay in memory, and still have a "backup" in case new pages are added and there is not enough memory to hold them all.
You can also just use one or the other by setting either memory or disk interval to zero.