HttpCacheRevalidation 枚举
定义
提供用于设置重新验证特定的 Cache-Control HTTP 标头的枚举值。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
- 继承
字段
| AllCaches | 1 | 将 HTTP 标头设置为 |
| None | 3 | 如果已设置该值,则不发送任何缓存重新验证指令。If this value is set, no cache-revalidation directive is sent. 默认值。The default value. |
| ProxyCaches | 2 | 将 HTTP 标头设置为 |
注解
HttpCacheRevalidation枚举用于设置重新验证特定的 HTTP 标头,并使用方法进行设置 SetRevalidation 。The HttpCacheRevalidation enumeration is used to set revalidation-specific HTTP headers, and is set using the SetRevalidation method. 如果 SetRevalidation 未调用方法,则不 Cache-Control 会设置 HTTP 标头。If the SetRevalidation method is not called, no Cache-Control HTTP header is set.