Main Page

  Previous Section Next Section


System.Web (system.web.dll)enum

This enumeration is used by the HttpCachePolicy.SetCacheability( ) method of the HttpCachePolicy class. It allows you to configure how a cached page is shared among users. A value of Public means that the page can be stored in shared caches on a proxy server, or ASP.NET's own output cache, and made available to all clients. Private means that the page can be cached only on the client's computer, will not be stored in the ASP.NET output cache or on a proxy server, and cannot benefit other users.

public enum HttpCacheability {
   NoCache = 1,
   Private = 2,
   Server = 3,
   ServerAndNoCache = 3,
   Public = 4,
   ServerAndPrivate = 5


System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) HttpCacheability

Passed To

HttpCachePolicy.SetCacheability( )

      Previous Section Next Section