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

Member nameDescription

Sets the HTTP header to Cache-Control: must-revalidate.


If this value is set, no cache-revalidation directive is sent. The default value.


Sets 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.

.NET Framework
Available since 1.1
Return to top