VaryByParams Property
Collapse the table of content
Expand the table of content

HttpCachePolicy.VaryByParams Property

Gets the list of parameters received by an HTTP GET or HTTP POST that affect caching.

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

public HttpCacheVaryByParams VaryByParams { get; }
/** @property */
public HttpCacheVaryByParams get_VaryByParams ()

public function get VaryByParams () : HttpCacheVaryByParams

Property Value

An HttpCacheVaryByParams that specifies which cache-control headers are used to select the cached response.

A separate version of the requested document is available from the cache for each named parameter in the VaryByParams collection.

TopicLocation
Walkthrough: Using Output Caching to Enhance Web Site PerformanceBuilding ASP .NET Web Applications in Visual Studio

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2016 Microsoft