angular-cache icon indicating copy to clipboard operation
angular-cache copied to clipboard

Is it possible to only delete a cache after the onExpire function completes?

Open DavidGrinberg opened this issue 9 years ago • 0 comments

I have some data I want to cache, however it takes a relatively long time to generate this data. My understanding is that if I use angular-cache in either aggressive or passive mode then my cache will be deleted before my onExpire function is called. This means I will have a significant time period where I have no data in the cache - obviously bad.

Is there anyway to close this gap such that there is no point at which I have no data?

DavidGrinberg avatar Jun 15 '16 20:06 DavidGrinberg