OutputCacheSection.EnableOutputCache Property
.NET Framework (current version)
Gets or sets a value indicating whether the output cache is enabled.
Assembly: System.Web (in System.Web.dll)
[<ConfigurationPropertyAttribute("enableOutputCache", DefaultValue = true)>] member EnableOutputCache : bool with get, set
Property Value
Type: System.Booleantrue if the output cache is enabled; otherwise, false. The default is true.
If the 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 OutputCacheSettingsSection and OutputCacheProfile.
.NET Framework
Available since 2.0
Available since 2.0
Show: