Dela via


CacheControlHeaderValue.SharedMaxAge Property

Definition

Gets or sets a value for the s-maxage directive.

Overrides max-age, but only for shared caches (such as proxies).

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

Remarks

See https://tools.ietf.org/html/rfc7234#section-5.2.2.9.

Applies to