Is there a way to introduce a time cache dependency that will run some checks before dumping the cache from memory?
What I mean is this: the cache is regularly deleted every X minutes, however, in exceptional cases the cache must persist for longer. Those exceptions could be checked at some method.
...
Go to the complete details ...