OutputCacheSection.SendCacheControlHeader Property
.NET Framework (current version)
Gets or sets a value indicating whether the cache-control:private header is sent by the output cache module by default.
Assembly: System.Web (in System.Web.dll)
[<ConfigurationPropertyAttribute("sendCacheControlHeader", DefaultValue = true)>] member SendCacheControlHeader : bool with get, set
Property Value
Type: System.Booleantrue if the sending of cache-control:private header is enabled; otherwise, false. The default is true.
The SendCacheControlHeader applies to content with no output caching specified. When it is set to false, the cache-control:private header is not sent by default.
Note |
|---|
This setting enables the content to be cached on the client by default. |
.NET Framework
Available since 2.0
Available since 2.0
Show:
