System.Web.Configuration.HttpRuntimeSection.EnableKernelOutputCache Property

Gets or sets a value that indicates whether output caching is enabled.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

In order to cache a response, the following criteria need to be met:

  • Caching must be explicitly enabled by a page directive or by the caching API.

  • Caching must have an expiration policy so that the kernel knows when to discard it.

  • Caching cannot have any variable headers or parameters.

  • The request must not require any authentication.

Note:

This property is relevant only when Internet Information Services (IIS) version 6.0 or later is installed.

Requirements

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