ICachePolicyProvider Interface

 

Provides an abstraction for adding default HTTP caching headers to a given HttpResponseMessage. If no HTTP caching headers have been set on a response then this abstraction is called allowing for a default set of HTTP caching headers to be applied. By default, the CachePolicyProvider implementation is registered with the dependency injection engine but other implementations can be registered as well. If no ICachePolicyProvider is registered then no default caching headers will be added to an HttpResponseMessage.

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

public interface class ICachePolicyProvider

NameDescription
System_CAPS_pubmethodSetCachePolicy(HttpResponseMessage^)

Applies the default caching header policy to a given response.

Return to top
Show: