<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="10.0.12" />

Microsoft.Extensions.Caching.Hybrid.HybridCacheEntryOptions

public sealed class HybridCacheEntryOptions
Specifies additional options (for example, expiration) that apply to a HybridCache operation. When options can be specified at multiple levels (for example, globally and per-call), the values are composed; the most granular non-null value is used, with null values being inherited. If no value is specified at any level, the implementation can choose a reasonable default.
public TimeSpan? Expiration { get; set; }

Gets or set the overall cache duration of this entry, passed to the backend distributed cache.

public HybridCacheEntryFlags? Flags { get; set; }

Gets or sets additional flags that apply to the requested operation.

public TimeSpan? LocalCacheExpiration { get; set; }