CachePolicyProvider Class
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.
Assembly: Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)
| Name | Description | |
|---|---|---|
![]() | CachePolicyProvider() | Initializes a new instance of the CachePolicyProvider class with a default CachePolicy. |
![]() | CachePolicyProvider(CachePolicy) | Initializes a new instance of the CachePolicyProvider class with the given policy. |
| Name | Description | |
|---|---|---|
![]() | Policy | Gets the CachePolicy being applied if no HTTP caching response headers have been set on an HttpResponseMessage. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | SetCacheOptions(HttpResponseMessage) | Applies the CachePolicy options to the given response. |
![]() | SetCachePolicy(HttpResponseMessage) | |
![]() | SetMaxAge(HttpResponseMessage) | Applies the CachePolicyMaxAge value to the given response. |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


