CacheControlHeaderValue.SharedMaxAge 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 shared maximum age, specified in seconds, in an HTTP response that overrides the "max-age" directive in a cache-control header or an Expires header for a shared cache.
public:
property Nullable<TimeSpan> SharedMaxAge { Nullable<TimeSpan> get(); void set(Nullable<TimeSpan> value); };
public TimeSpan? SharedMaxAge { get; set; }
member this.SharedMaxAge : Nullable<TimeSpan> with get, set
Public Property SharedMaxAge As Nullable(Of TimeSpan)
Property Value
The time in seconds.
Remarks
This property represents the "s-max-age" directive in a cache-control header field on an HTTP response.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.