react-native-modest-cache icon indicating copy to clipboard operation
react-native-modest-cache copied to clipboard

Request of information

Open davidmarinangeli opened this issue 5 years ago • 0 comments

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):

  1. 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?).
  2. What's the purpose of flush/flushexpired in your library? I'm using just cache.remove('xx') in order to invalidate it.

Thanks again

davidmarinangeli avatar Jan 17 '19 09:01 davidmarinangeli