Skip to content
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

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

Open
DavidGrinberg opened this issue Jun 15, 2016 · 0 comments

Comments

@DavidGrinberg
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant