HttpCachePolicyElement.MaximumStale 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 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="-10675199.02:48:05.4775808")]
public TimeSpan MaximumStale { get; set; }
[<System.Configuration.ConfigurationProperty("maximumStale", DefaultValue="-10675199.02:48:05.4775808")>]
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.
- Attributes
Remarks
This property specifies the amount of time after content expiration during which the cached copy of the resource is acceptable.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.