Open wsdt opened 5 years ago
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.
I made a PR(https://github.com/timfpark/react-native-cache/pull/25). I'd appreciated if you guys review this.
Could we release this please? Our project is using v 2.0.1 and would like to upgrade to a version that has expiration.
It would be amazing if cache-entries expire automatically after a specified duration.