HttpCachePolicy.GetRevalidation Method

Definition

Gets the Cache-Control: header to reflect either the must-revalidate or proxy-revalidate directives.

public:
 System::Web::HttpCacheRevalidation GetRevalidation();
public System.Web.HttpCacheRevalidation GetRevalidation ();
member this.GetRevalidation : unit -> System.Web.HttpCacheRevalidation
Public Function GetRevalidation () As HttpCacheRevalidation

Returns

HttpCacheRevalidation

The Cache-Control: header to reflect either the must-revalidate or proxy-revalidate directives.

Remarks

The default is to not send either of these directives unless explicitly enabled using this method.

Applies to