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

Maximumum Age of Cache #14088

Closed
garfbradaz opened this issue Aug 30, 2019 — with docs.microsoft.com · 1 comment

Comments

Copy link
Contributor

commented Aug 30, 2019 — with docs.microsoft.com

If I have a Web API that lives in Kubernetes, outside of cache expiration settings, in what scenarios is the MemoryCache cleared down?

If I have a JSON Payload I want to cache (key is the QueryString) for data that doesnt change regulary (or at all), if I set the cache expiration to 2 weeks, is there any other scenario the cache is cleared down?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@Rick-Anderson

This comment has been minimized.

Copy link
Contributor

commented Aug 30, 2019

When the app restarts. Per the article, never depend on the cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.