CacheConfiguration.CacheDuration Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year
[Newtonsoft.Json.JsonProperty(PropertyName="cacheDuration")]
public TimeSpan? CacheDuration { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="cacheDuration")>]
member this.CacheDuration : Nullable<TimeSpan> with get, set
Public Property CacheDuration As Nullable(Of TimeSpan)
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute