This documentation is archived and is not being maintained.

HttpCachePolicy.VaryByParams Property

Gets the list of parameters received by a GET (querystring) or POST (in the body of the HTTP request) that affect caching.

[Visual Basic]
Public ReadOnly Property VaryByParams As HttpCacheVaryByParams
public HttpCacheVaryByParams VaryByParams {get;}
public: __property 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.


For each named parameter in VaryByParams a separate version of the requested document is available from the cache, the version varying by the parameter's value.


Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpCachePolicy Class | HttpCachePolicy Members | System.Web Namespace