Share via


Microsoft.WindowsAzure.Mobile.Service.Cache Namespace

Classes

CachePolicy

Defines a cache policy describing which HTTP cache response headers to include in an System.Net.Http.HttpResponseMessage. The CachePolicy is used by the CachePolicyProvider which defines a default caching policy if no HTTP caching headers have been applied to a given System.Net.Http.HttpResponseMessage.

CachePolicyMessageHandler

If no HTTP response cache control headers have been added to the System.Net.Http.HttpResponseMessage then invoke the registered ICachePolicyProvider to allow it to set the default HTTP response cache headers.

CachePolicyProvider

Default implementation of ICachePolicyProvider with a set of possible default HTTP caching policies. If no HTTP caching headers have been set on a response then this abstraction is called allowing for a default set of HTTP caching headers to be applied.

Interfaces

ICachePolicyProvider

Provides an abstraction for adding default HTTP caching headers to a given System.Net.Http.HttpResponseMessage. If no HTTP caching headers have been set on a response then this abstraction is called allowing for a default set of HTTP caching headers to be applied. By default, the CachePolicyProvider implementation is registered with the dependency injection engine but other implementations can be registered as well. If no ICachePolicyProvider is registered then no default caching headers will be added to an System.Net.Http.HttpResponseMessage.

Enums

CacheOptions

Defines the set of HTTP response cache control options that can be used with the HTTP Cache-Control header field for an System.Net.Http.HttpResponseMessage. This is used by the CachePolicyProvider to define which HTTP caching response headers to use if no HTTP caching response headers have been set on an System.Net.Http.HttpResponseMessage.