Export (0) Print
Expand All

HttpCachePolicy.VaryByHeaders Property

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

Namespace: System.Web
Assembly: System.Web (in system.web.dll)

public HttpCacheVaryByHeaders VaryByHeaders { get; }
/** @property */
public HttpCacheVaryByHeaders get_VaryByHeaders ()

public function get VaryByHeaders () : HttpCacheVaryByHeaders

Not applicable.

Property Value

An HttpCacheVaryByHeaders that specifies which HTTP headers are used to select the cached response.

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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft