System.Web.HttpCachePolicy.VaryByHeaders Property

Gets the list of all HTTP headers that will be used to vary cache output.

Syntax

public HttpCacheVaryByHeaders VaryByHeaders { get; }

Value

Documentation for this section has not yet been entered.

Remarks

When a cached item has several vary headers, a separate version of the requested document is available from the cache for each HTTP header type.

HttpCachePolicy.VaryByHeaders is introduced in the .NET Framework version 3.5. For more information, see The .NET Framework 3.5 Architecture.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0