HttpCachePolicyElement.MaximumAge 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 age permitted for a resource returned from the cache.
public:
property TimeSpan MaximumAge { TimeSpan get(); void set(TimeSpan value); };
[System.Configuration.ConfigurationProperty("maximumAge", DefaultValue="10675199.02:48:05.4775807")]
public TimeSpan MaximumAge { get; set; }
[<System.Configuration.ConfigurationProperty("maximumAge", DefaultValue="10675199.02:48:05.4775807")>]
member this.MaximumAge : TimeSpan with get, set
Public Property MaximumAge As TimeSpan
Property Value
A TimeSpan value that specifies the maximum age for cached resources specified in the configuration file.
- Attributes
Remarks
If the cached copy of the resource is older than the specified time value, the resource must be revalidated by comparing the cached resource to the resource on the server.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.