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

Invalidation Support [Feature Request] #2

Open
taliptako opened this issue May 23, 2019 · 1 comment
Open

Invalidation Support [Feature Request] #2

taliptako opened this issue May 23, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@taliptako
Copy link

taliptako commented May 23, 2019

There are only two hard problems in Computer Science: cache invalidation, and naming things.
Phil Karlton

When we add key value we should be able to set expire date too and in the get methods if this expire date is crossed we should delete them , this can be hard to implement i dont know if you think about implementing a feature like this.

@frideosapps frideosapps added the enhancement New feature or request label May 25, 2019
@frideosapps
Copy link
Owner

@taliptako I think it could be added, but it needs some major changes due to the fact the current structure is really simple, it needs at least an extra column for the timestamp and some methods to handle all the stuff (set key/value lifespan, modify, remove etc.). I'll figure it out something to avoid breaking changes. Thanks for your suggestion.

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

No branches or pull requests

2 participants