ConfigOptions.CachePolicy Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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