HttpCacheability Enumeration |
Provides enumerated values that are used to set the Cache-Control HTTP header.
Namespace: CMS.Base.InternalAssembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax public enum HttpCacheability
Members
| Member name | Value | Description |
---|
| NoCache | 1 |
Indicates that without a field name, a cache must force successful revalidation with the origin server before satisfying the request.
With a field name, the cache may use the response to satisfy a subsequent request.
|
| Private | 2 |
Default value. Specifies that the response is cacheable only on the client, not by shared caches.
|
| Server | 3 |
Specifies that the response should only be cached at the server. Clients receive headers equivalent to a NoCache directive.
|
| ServerAndNoCache | 3 | |
| Public | 4 |
Specifies that the response is cacheable by clients and shared caches.
|
| ServerAndPrivate | 5 | |
See Also