Class WebDefaults.TranslationsCache
Setting for the translations cache.
Inheritance
object
WebDefaults.TranslationsCache
Namespace: StylelabsStylelabs.MSdkWebClient
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
RequestResponse
public static class WebDefaults.TranslationsCache
Properties
CacheDuration
Gets or sets how long a definition should be cached.
Declaration
RequestResponse
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
RequestResponse
public static bool SlidingExpiration { get; set; }
Property Value
Type | Description |
---|---|
bool |