Compartir a través de


CacheConfiguration.CacheDuration Property

Definition

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

Applies to