CacheControlHeaderValue.MaxStaleLimit 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.
The maximum time, in seconds, an HTTP client is willing to accept a response that has exceeded its expiration time.
public:
property Nullable<TimeSpan> MaxStaleLimit { Nullable<TimeSpan> get(); void set(Nullable<TimeSpan> value); };
public TimeSpan? MaxStaleLimit { get; set; }
member this.MaxStaleLimit : Nullable<TimeSpan> with get, set
Public Property MaxStaleLimit As Nullable(Of TimeSpan)
Property Value
The time in seconds.
Remarks
This property represents the value assigned to "max-stale" directive in a cache-control header field on an HTTP request.
If the MaxStaleLimit property is assigned a value other than zero, then the client is willing to accept a response that has exceeded its expiration time by no more than the specified number of seconds. If a value of zero is assigned to the MaxStaleLimit property, then the client is willing to accept a stale response of any age.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για