MetalamaAPI documentationPatterns APIMetalama.​Patterns.​Caching.​Backends.​RedisRedis­Caching­Backend­ConfigurationDefault­Expiration
Open sandboxFocus

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; set; }
Property Value
Type Description
System.TimeSpan