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.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Cache
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

System.Object
  Microsoft.WindowsAzure.Mobile.Service.Cache.CachePolicy

public class CachePolicy

NameDescription
System_CAPS_pubpropertyMaxAge

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.

System_CAPS_pubpropertyOptions

Gets or sets the CacheOptions to include with the Cache-Control HTTP header field.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: