CacheControlHeaderValue.OnlyIfCached Property

Definition

Gets or sets a value for the only-if-cached request directive.

Indicates that the client only wishes to obtain a stored response

public:
 property bool OnlyIfCached { bool get(); void set(bool value); };
public bool OnlyIfCached { get; set; }
member this.OnlyIfCached : bool with get, set
Public Property OnlyIfCached As Boolean

Property Value

Remarks

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

Applies to