RequestCachingSection.UnspecifiedMaximumAge 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 a value used as the maximum age for cached resources that do not have expiration information.
public:
property TimeSpan UnspecifiedMaximumAge { TimeSpan get(); void set(TimeSpan value); };
[System.Configuration.ConfigurationProperty("unspecifiedMaximumAge", DefaultValue="1.00:00:00")]
public TimeSpan UnspecifiedMaximumAge { get; set; }
[<System.Configuration.ConfigurationProperty("unspecifiedMaximumAge", DefaultValue="1.00:00:00")>]
member this.UnspecifiedMaximumAge : TimeSpan with get, set
Public Property UnspecifiedMaximumAge As TimeSpan
Property Value
A TimeSpan that provides a default maximum age for cached resources.
- Attributes
Remarks
Setting this property ensures that a resource that does not have expiration header information does not remain fresh in the cache indefinitely.
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.