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
Hi, I've been trying to understand how to work with your library in one of my projects.
I'm using Hash as default cache manager.
So I've been setting the AbsoluteExpiration to 24h. And the cache is injected in a server with a single instance (new FileCache is called only once) that "does not sleep". (we deploy once a week).
The problem I'm facing is that the files in the Cache folder don't get deleted unless we deploy the server. As I could see in the code, the "clean cache" is only called in the constructor. Is that the expected behavior? Is having a single "new FileCache" the correct way to use the cache for multiple requests or should we do something else?
Hi @rogerhival.
Did you ever find an answer or a solution to this?
I don't see the point of this library if it does not clean up the cache continuously as objects expire.
Activity
DrHeinzDoofenshmirtz commentedon Jul 7, 2022
Hi @rogerhival.
Did you ever find an answer or a solution to this?
I don't see the point of this library if it does not clean up the cache continuously as objects expire.