ConfigOptions.CachePolicy Property

Definition

Gets or sets the cache policy describing the HTTP caching headers cache response headers to include in an HttpResponseMessage if no HTTP caching headers have been previously added. The default CachePolicy is set to "no-cache" but can be changed here. If the available cache policies are not sufficient then it is possible to add a custom Microsoft.WindowsAzure.Mobile.Service.Cache.ICachePolicyProvider to the dependency injection engine.

public Microsoft.WindowsAzure.Mobile.Service.Cache.CachePolicy CachePolicy { get; set; }
member this.CachePolicy : Microsoft.WindowsAzure.Mobile.Service.Cache.CachePolicy with get, set
Public Property CachePolicy As CachePolicy

Property Value

Microsoft.WindowsAzure.Mobile.Service.Cache.CachePolicy

Applies to