HttpCacheRevalidation Enumeration

Provides enumerated values that are used to set revalidation-specific Cache-Control HTTP headers.

Namespace: System.Web
Assembly: System.Web (in system.web.dll)

Public Enumeration HttpCacheRevalidation
Dim instance As HttpCacheRevalidation

public enum HttpCacheRevalidation
public enum HttpCacheRevalidation

 Member nameDescription
AllCachesSets the HTTP header to Cache-Control: must-revalidate
NoneIf this value is set, no cache-revalidation directive is sent. The default value.  
ProxyCachesSets the HTTP header to Cache-Control: proxy-revalidate

The HttpCacheRevalidation enumeration is used to set revalidation-specific HTTP headers, and is set using the SetRevalidation method. If the SetRevalidation method is not called, no Cache-Control HTTP header is set.

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