Add the EntryOption => MemoryCacheDuration #385
Replies: 2 comments
-
|
Hi @emeesterinterpulse sorry, super late here: after the mega crunch to release v2, helping the DAB team to introduce L2+backplane, my daily job and life in general I got carried away, my bad. Regarding a new Anyway, it's definitely on my list of features to add to FusionCache: apart from some technical complexities, the only thing I'm trying to figure out is how to best communicate what does Any thoughts on that would be more than welcome. Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
Hi @emeesterinterpulse , see here. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
At the moment we work with sliding Expirations on System.Runtime.MemoryCache. (Basicly to To keep memory Low). We looking into a migration to FusionCache (no that tagging is supported). We implemented ImemoryCache on System.Runtime.MemoryCache. So we can easly map Duration to SlidingDuration.
But the problem is that we want the cache LogicalDuration 24 hours (or unlimited, we invalidate cache pure on Tags. ) But we want to keep the sliding expire time low, lets say 20 minutes.
So an extra option MemoryCacheDuration like DistributedCacheDuration could help in our situation.
I also Followed the SlidingExpiration discussion. Maybe our case is one to consider for adding a sliding expiration to fusionCache. (Memory cache only, if it's important data we store it also in de L2 cache)
Beta Was this translation helpful? Give feedback.
All reactions