Microsoft.Azure.Mobile.Server.Cache
Namespace
Contains classes and interfaces that support access to caching policies.
Classes
| CachePolicy |
Defines a cache policy describing which HTTP cache response headers to include in an 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 HttpResponseMessage. |
| 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 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 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 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 HttpResponseMessage. |