Export (0) Print
Expand All

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:
property HttpCacheVaryByParams^ VaryByParams {
	HttpCacheVaryByParams^ get ();
}
/** @property */
public HttpCacheVaryByParams get_VaryByParams ()

public function get VaryByParams () : HttpCacheVaryByParams

Not applicable.

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 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