logo
logo

Class WebDefaults.DefinitionCache

Setting for the definition cache.

Inheritance
System.Object
WebDefaults.DefinitionCache
Namespace: Stylelabs.M.Sdk.WebClient
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
public static class DefinitionCache : object

Properties

CacheDuration

Gets or sets how long a definition should be cached.

Declaration
public static TimeSpan CacheDuration { get; set; }
Property Value
Type Description
TimeSpan

SlidingExpiration

Gets or sets a value indicating whether if the cache should use sliding expiration.

Declaration
public static bool SlidingExpiration { get; set; }
Property Value
Type Description
System.Boolean

Can we improve this article ? Provide feedback