
490
|
Chapter 23: The System.Web Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Returned By
HttpResponse.Cache
HttpCacheRevalidation
System.Web (system.web.dll)
serializable
enum
This enumeration is used by the SetRevalidation( ) method of the HttpCachePolicy class, which
programmatically forces the revalidation of a page. If you use ProxyCaches with this
method, the page will be dropped from all shared caches, but potentially left in the
client’s local cache. (Technically, this sets the “Cache-Control: proxy-revalidate”
HTTP header.) If you use AllCaches, the page will be dropped from all caches. (Techni-
cally, this sets the “Cache-Control: must-revalidate” HTTP header.)
Hierarchy
System.Object ➝ System.ValueType ➝ System.Enum(System.IComparable, System.IFor-
mattable, System.IConvertible)
➝ HttpCacheRevalidation
Passed To
HttpCachePolicy.SetRevalidation( )
HttpCacheValidateHandler
System.Web (system.web.dll)
serializable
delegate
A function with this signature can be used for the AddValidationCallback( ) method of the
HttpCachePolicy class. Using this method gives you the opportunity to check other
public HttpCacheVaryByParams VaryByParams{get; }
// Public Instance Methods
public void AddValidationCallback(HttpCacheValidateHandler handler, object data);
public void AppendCacheExtension(string extension);
public void SetAllowResponseInBrowserHistory ...