Name

HttpCacheability

Synopsis

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
                  Public = 4
End Enum

Hierarchy

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

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.