HttpCachePolicy.GetRevalidation Method

Definition

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

C#
public System.Web.HttpCacheRevalidation GetRevalidation();

Returns

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

Produkt Verzie
.NET Framework 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1