HttpCachePolicyElement.MaximumStale HttpCachePolicyElement.MaximumStale HttpCachePolicyElement.MaximumStale HttpCachePolicyElement.MaximumStale Property

Definition

Gets or sets the maximum staleness value permitted for a resource returned from the cache.

public:
 property TimeSpan MaximumStale { TimeSpan get(); void set(TimeSpan value); };
[System.Configuration.ConfigurationProperty("maximumStale", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
public TimeSpan MaximumStale { get; set; }
member this.MaximumStale : TimeSpan with get, set
Public Property MaximumStale As TimeSpan

Property Value

A TimeSpan value that is set to the maximum staleness value specified in the configuration file.

Remarks

This property specifies the amount of time after content expiration during which the cached copy of the resource is acceptable.

Applies to