System.Web.Configuration.OutputCacheSection.EnableOutputCache Property

Gets or sets a value indicating whether the output cache is enabled.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

If the OutputCacheSection.EnableFragmentCache property is set to false, no page is cached on the server, regardless of the settings in @ OutputCache directive or caching profile used by the page. For more information, see System.Web.Configuration.OutputCacheSettingsSection and System.Web.Configuration.OutputCacheProfile.

Requirements

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