react-native-modest-cache
react-native-modest-cache copied to clipboard
Request of information
Hi, the library works really well for the moment: I would like to ask you something about it (it would be amazing to add that to the README):
- why, on your example, the third parameter
expiringInMinutes
is set as a negative number? If I do so on my code it expires immediately (so I gave that a positive number of 60 minutes to try...is this the right behaviour to adopt?). - What's the purpose of flush/flushexpired in your library? I'm using just
cache.remove('xx')
in order to invalidate it.
Thanks again