Compartilhar via


OutputCacheLocation Enumeration

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Specifies the values for controlling the location of the output-cached HTTP response for a resource.

Namespace:  System.ServiceModel.DomainServices.Server
Assembly:  System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)

Syntax

'Declaration
Public Enumeration OutputCacheLocation
'Usage
Dim instance As OutputCacheLocation
public enum OutputCacheLocation
public enum class OutputCacheLocation
type OutputCacheLocation
public enum OutputCacheLocation

Members

Member name Description
Any The output cache can be located on the browser client (where the request originated), on a proxy server (or any other server) participating in the request, or on the server where the request was processed.
Client The output cache is located on the browser client where the request originated.
Downstream The output cache can be stored in any HTTP 1.1 cache-capable devices other than the origin server. This includes proxy servers and the client that made the request.
Server The output cache is located on the Web server where the request was processed.
None The output cache is disabled for the requested page.
ServerAndClient The output cache can be stored only at the origin server or at the requesting client. Proxy servers are not allowed to cache the response.

Remarks

Specifies the locations available to the Location property.

See Also

Reference

System.ServiceModel.DomainServices.Server Namespace