CacheControlHeaderValue.OnlyIfCached 属性

定义

获取或设置请求指令的值 only-if-cached

指示客户端只希望获取存储的响应

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

属性值

注解

请参阅 https://tools.ietf.org/html/rfc7234#section-5.2.1.7

适用于