Skip to content

Sliding expiries #259

@wazzamatazz

Description

@wazzamatazz

What problem does the feature solve?

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions