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

RedisCachingBackendConfiguration.DefaultExpiration Property


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.

public TimeSpan DefaultExpiration { get; set; }
Property Value
Type Description