Dela via


HttpSysOptions.EnableResponseCaching Property

Definition

Attempt kernel-mode caching for responses with eligible headers. The response may not include Set-Cookie, Vary, or Pragma headers. It must include a Cache-Control header that's public and either a shared-max-age or max-age value, or an Expires header. The default is true.

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

Property Value

Applies to