How to reload cached value? #2415
Unanswered
mfonnesbeck
asked this question in
Q&A
Replies: 1 comment
-
I haven't used the Cache policy in the past years but if my memory serves well you can access the underlying Cache provider (either |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are caching some accounting items in memory in our web application, since they don't change often, however, we've run into a situation when we are setting up the accounting for a tenant to our associated accounting software it caches some items before they are fully setup and then we can't see all the updates to the setup process because the cache is holding onto old stored values. I see that there is no way to remove a stored value from the cache by key, and I have seen some use of a cancellation token in the documentation, but it is not fully explained how to use it. I am looking for any way to reload a cached value or remove so that I can re-add a cached value. We are using Polly 7.1.1 and Polly.Caching.Memory 3.0.2.
Beta Was this translation helpful? Give feedback.
All reactions