Share via


WebListenerOptions.EnableResponseCaching 屬性

定義

嘗試針對具有合格標頭的回應進行核心模式快取。 回應可能不包含 Set-Cookie、Vary 或 Pragma 標頭。 它必須包含具有 Public 的 Cache-Control 標頭,以及 Shared-Max-Age 或 Max-Age 值,或 Expires 標頭。

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

屬性值

適用於