HttpCacheRevalidation Enumeration
TOC
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 Enumeration HttpCacheRevalidation

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.

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
Show:
© 2016 Microsoft