HttpCacheRevalidation Enum

Definition

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

public enum class HttpCacheRevalidation
public enum HttpCacheRevalidation
type HttpCacheRevalidation = 
Public Enum HttpCacheRevalidation
Inheritance
HttpCacheRevalidation

Fields

AllCaches 1

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

None 3

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

ProxyCaches 2

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

Remarks

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.

Applies to

See also