HttpCacheRevalidation Enumeration
Collapse the table of content
Expand the table of content

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 enum 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 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

© 2016 Microsoft