Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow option to auto-remove oldest item when full #232

Open
davwheat opened this issue Mar 25, 2021 · 8 comments
Open

Allow option to auto-remove oldest item when full #232

davwheat opened this issue Mar 25, 2021 · 8 comments

Comments

@davwheat
Copy link

When setting a new key at the moment, if the cache is full it will throw an error,

We should have an option that, instead of erroring, will remove the oldest cache item and then add the new one.

@vikasg603
Copy link

It is actually required; we should work on this.

@oryaacov
Copy link

we are looking for it as well :)

@sunnyofhell
Copy link

Much awaited. Would be great to have this feature.

@doc-han
Copy link

doc-han commented Jul 6, 2021

Done implementing this in code. making a pull request soon

@tnabil
Copy link

tnabil commented Aug 5, 2022

Any chance @doc-han's PR can be merged? This is a must-have feature.

@ivosabev
Copy link

+1

1 similar comment
@bnssoftware
Copy link

bnssoftware commented Apr 14, 2023

+1

@AustinGarrod
Copy link

Been a while, any chance theres an update on adding this feature? Would be great to have.

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

No branches or pull requests

9 participants