Bagikan melalui


HttpSysOptions.EnableResponseCaching Properti

Definisi

Coba penembolokan mode kernel untuk respons dengan header yang memenuhi syarat. Respons mungkin tidak termasuk header Set-Cookie, Vary, atau Pragma. Ini harus menyertakan header Cache-Control publik dan nilai usia maksimal bersama atau usia maks, atau header Kedaluwarsa. Default adalah 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

Nilai Properti

Berlaku untuk