HttpCachePolicyElement::MaximumAge Property
.NET Framework (current version)
Gets or sets the maximum age permitted for a resource returned from the cache.
Assembly: System (in System.dll)
public: [ConfigurationPropertyAttribute("maximumAge", DefaultValue = "10675199.02:48:05.4775807")] property TimeSpan MaximumAge { TimeSpan get(); void set(TimeSpan value); }
Property Value
Type: System::TimeSpanA TimeSpan value that specifies the maximum age for cached resources specified in the configuration file.
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: