-
-
Notifications
You must be signed in to change notification settings - Fork 39
Sliding expiries #259
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Activity
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
What problem does the feature solve?
Consider adding the option of a sliding expiry to cache items, as supported by both
IMemoryCacheandIDistributedCacheinMicrosoft.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
CacheSettingstype could be extended to also define aSlidingExpiryproperty that could be used by a cache layer if supported by the underlying provider.