Export (0) Print
Expand All

HttpCacheVaryByHeaders Class

Provides a type-safe way to set the VaryByHeaders property that identifies the request headers that ASP.NET adds to the Vary HTTP header sent to the client.

For a list of all members of this type, see HttpCacheVaryByHeaders Members.

System.Object
   System.Web.HttpCacheVaryByHeaders

[Visual Basic]
NotInheritable Public Class HttpCacheVaryByHeaders
[C#]
public sealed class HttpCacheVaryByHeaders
[C++]
public __gc __sealed class HttpCacheVaryByHeaders
[JScript]
public class HttpCacheVaryByHeaders

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

The HTTP Vary header indicates the request-header fields that the origin server uses to determine which of multiple cached responses is sent in response to a client request.

For more information on HTTP cache-control headers, see RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1, available on the World Wide Web Consortium Web site at http://www.w3c.org. See section 14, "Header Field Definitions", for complete details.

Requirements

Namespace: System.Web

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

Assembly: System.Web (in System.Web.dll)

See Also

HttpCacheVaryByHeaders Members | System.Web Namespace

Show:
© 2014 Microsoft