System.Web.HttpCachePolicy.VaryByHeaders Property

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


public HttpCacheVaryByHeaders VaryByHeaders { get; }


Documentation for this section has not yet been entered.


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.


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