Επεξεργασία

Κοινή χρήση μέσω


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

Name Value Description
AllCaches 1

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

ProxyCaches 2

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

None 3

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

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