Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
VaryByParams Property
Collapse the table of content
Expand the table of content

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

© 2015 Microsoft