Class WebDefaults.DefinitionCache

Current version: 3.4

Setting for the definition cache.

Inheritance
object
WebDefaults.DefinitionCache
Namespace: StylelabsStylelabs.MSdkWebClient
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
RequestResponse
public static class WebDefaults.DefinitionCache

Properties

CacheDuration

Gets or sets how long a definition should be cached.

Declaration
RequestResponse
public static TimeSpan CacheDuration { get; set; }
Property Value
TypeDescription
TimeSpan

SlidingExpiration

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

Declaration
RequestResponse
public static bool SlidingExpiration { get; set; }
Property Value
TypeDescription
bool

Do you have some feedback for us?

If you have suggestions for improving this article,