CacheControlHeaderValue Properties

.NET Framework (current version)
 

Namespace:   System.Net.Http.Headers
Assembly:  System.Net.Http (in System.Net.Http.dll)

NameDescription
System_CAPS_pubpropertyExtensions

Cache-extension tokens, each with an optional assigned value.

System_CAPS_pubpropertyMaxAge

The maximum age, specified in seconds, that the HTTP client is willing to accept a response.

System_CAPS_pubpropertyMaxStale

Whether an HTTP client is willing to accept a response that has exceeded its expiration time.

System_CAPS_pubpropertyMaxStaleLimit

The maximum time, in seconds, an HTTP client is willing to accept a response that has exceeded its expiration time.

System_CAPS_pubpropertyMinFresh

The freshness lifetime, in seconds, that an HTTP client is willing to accept a response.

System_CAPS_pubpropertyMustRevalidate

Whether the origin server require revalidation of a cache entry on any subsequent use when the cache entry becomes stale.

System_CAPS_pubpropertyNoCache

Whether an HTTP client is willing to accept a cached response.

System_CAPS_pubpropertyNoCacheHeaders

A collection of fieldnames in the "no-cache" directive in a cache-control header field on an HTTP response.

System_CAPS_pubpropertyNoStore

Whether a cache must not store any part of either the HTTP request mressage or any response.

System_CAPS_pubpropertyNoTransform

Whether a cache or proxy must not change any aspect of the entity-body.

System_CAPS_pubpropertyOnlyIfCached

Whether a cache should either respond using a cached entry that is consistent with the other constraints of the HTTP request, or respond with a 504 (Gateway Timeout) status.

System_CAPS_pubpropertyPrivate

Whether all or part of the HTTP response message is intended for a single user and must not be cached by a shared cache.

System_CAPS_pubpropertyPrivateHeaders

A collection fieldnames in the "private" directive in a cache-control header field on an HTTP response.

System_CAPS_pubpropertyProxyRevalidate

Whether the origin server require revalidation of a cache entry on any subsequent use when the cache entry becomes stale for shared user agent caches.

System_CAPS_pubpropertyPublic

Whether an HTTP response may be cached by any cache, even if it would normally be non-cacheable or cacheable only within a non- shared cache.

System_CAPS_pubpropertySharedMaxAge

The shared maximum age, specified in seconds, in an HTTP response that overrides the "max-age" directive in a cache-control header or an Expires header for a shared cache.

Return to top
Show: