Share via


ConfigOptions.CachePolicy Property

 

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 ICachePolicyProvider to the dependency injection engine.

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

Syntax

public CachePolicy CachePolicy {
    [CompilerGeneratedAttribute]
    get;
    [CompilerGeneratedAttribute]
    set;
}
public:
property CachePolicy^ CachePolicy {
    [CompilerGeneratedAttribute]
    CachePolicy^ get();
    [CompilerGeneratedAttribute]
    void set(CachePolicy^ value);
}
member CachePolicy : CachePolicy with get, set
Public Property CachePolicy As CachePolicy

Property Value

Type: Microsoft.WindowsAzure.Mobile.Service.Cache.CachePolicy

See Also

ConfigOptions Class
Microsoft.WindowsAzure.Mobile.Service Namespace

Return to top