CachePolicy Class
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.
Assembly: Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)
| Name | Description | |
|---|---|---|
![]() | CachePolicy() |
| Name | Description | |
|---|---|---|
![]() | MaxAge | Gets or sets the timespan after which the response no longer can be considered fresh. If set then include a Cache-Control header field with a Max-Age property set to the value. For backwards compatibility with HTTP/1.0 caches, the Expires header field is also set to an equivalent absolute time stamp. |
![]() | Options | Gets or sets the CacheOptions to include with the Cache-Control HTTP header field. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | 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.


