Skip to content
This repository has been archived by the owner on Jun 7, 2018. It is now read-only.

Set capacity cache capacity. #9

Open
pnuzhdin opened this issue Nov 10, 2012 · 1 comment
Open

Set capacity cache capacity. #9

pnuzhdin opened this issue Nov 10, 2012 · 1 comment

Comments

@pnuzhdin
Copy link

Is it possible to set capacity for cache ?

@d0ugal
Copy link
Owner

d0ugal commented Nov 10, 2012

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants