System.Web.HttpCacheRevalidation Enumeration

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

Syntax

public enum HttpCacheRevalidation

Remarks

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

Members

Member NameDescription
AllCaches

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

None

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

ProxyCaches

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

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0