OutputCacheSection.EnableKernelCacheForVaryByStar Property

Definition

Gets or sets a value indicating whether kernel caching is enabled.

C#
[System.Configuration.ConfigurationProperty("enableKernelCacheForVaryByStar", DefaultValue=false)]
public bool EnableKernelCacheForVaryByStar { get; set; }

Property Value

true if kernel caching is enabled; otherwise, false. The default is false.

Attributes

Remarks

If static compression is enabled for the request but the client requested an uncompressed response, then kernel caching is disabled. Only compressed responses are cached in kernel.

Setting the EnableKernelCacheForVaryByStar property to true doesn't ensure kernel caching of responses. Modules in the processing pipeline must set the kernel cache policy.

EnableKernelCacheForVaryByStar is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also