System.Web.Configuration.OutputCacheSection.SendCacheControlHeader Property

Gets or sets a value indicating whether the cache-control:private header is sent by the output cache module by default.

Syntax

[System.Configuration.ConfigurationProperty("sendCacheControlHeader", DefaultValue="True")]
public bool SendCacheControlHeader { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The OutputCacheSection.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.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0