This documentation is archived and is not being maintained.

HttpCachePolicy Class

Contains methods for setting cache-specific HTTP headers and for controlling the ASP.NET page output cache.

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


[Visual Basic]
NotInheritable Public Class HttpCachePolicy
public sealed class HttpCachePolicy
public __gc __sealed class HttpCachePolicy
public class HttpCachePolicy

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.


For background information on HTTP headers and controlling caching, see the document RFC 2616: Hypertext Transfer Protocol - HTTP/1.1, available on the World Wide Web Consortium's site at


Namespace: System.Web

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

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

See Also

HttpCachePolicy Members | System.Web Namespace