You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider adding the option of a sliding expiry to cache items, as supported by both IMemoryCache and IDistributedCache in Microsoft.Extensions.*. This would allow cache items to be evicted before their TTL expired if they were not being actively used.
How would you use/interact with the feature? (if applicable)
The CacheSettings type could be extended to also define a SlidingExpiry property that could be used by a cache layer if supported by the underlying provider.
The text was updated successfully, but these errors were encountered:
What problem does the feature solve?
Consider adding the option of a sliding expiry to cache items, as supported by both
IMemoryCache
andIDistributedCache
inMicrosoft.Extensions.*
. This would allow cache items to be evicted before their TTL expired if they were not being actively used.How would you use/interact with the feature? (if applicable)
The
CacheSettings
type could be extended to also define aSlidingExpiry
property that could be used by a cache layer if supported by the underlying provider.The text was updated successfully, but these errors were encountered: