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
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.