locache
locache copied to clipboard
Set capacity cache capacity.
Is it possible to set capacity for cache ?
Not at the moment. Pull requests welcome.
It would be fairly easy but a number of questions spring to mind. Would it be size based on the count or the size of cached items? Would you just remove the oldest? I would be keen to see it be an optional feature, so it didn't impact current users at all.