OutputCacheLocation Enumeration

WCF RIA Services

[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)

public enum OutputCacheLocation

Member nameDescription
AnyThe 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.
ClientThe output cache is located on the browser client where the request originated.
DownstreamThe 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.
ServerThe output cache is located on the Web server where the request was processed.
NoneThe output cache is disabled for the requested page.
ServerAndClientThe output cache can be stored only at the origin server or at the requesting client. Proxy servers are not allowed to cache the response.

Specifies the locations available to the Location property.

Show: