-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add Expiration #20
Comments
I would love to have a PR to do this. It would involve essentially adding tracking for the expiration time of all of the entries, tracking the nearest expiration, and holding a timeout to do the expiration. |
eubnara
added a commit
to eubnara/react-native-cache
that referenced
this issue
Jul 12, 2020
- add option "stdTTL" as seconds - only global ttl supported - not affect to "getAll()"
I made a PR(#25). |
eubnara
added a commit
to eubnara/react-native-cache
that referenced
this issue
Aug 29, 2020
- add option "stdTTL" as seconds - only global ttl supported - not affect to "getAll()"
timfpark
pushed a commit
that referenced
this issue
Oct 30, 2020
Could we release this please? Our project is using v 2.0.1 and would like to upgrade to a version that has expiration. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be amazing if cache-entries expire automatically after a specified duration.
The text was updated successfully, but these errors were encountered: