RedisCachingBackendConfiguration.DefaultExpiration Property
DefaultExpiration
Gets or sets the default expiration time of cached items. All items that don't have an explicit expiration time are automatically expired according to the value of this property, unless they have the NotRemovable priority. The default value is 1 day.
Declaration
public TimeSpan DefaultExpiration { get; init; }
Property Value
Type | Description |
---|---|
TimeSpan |