HttpCachePolicy::GetRevalidation Method ()

 

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

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
HttpCacheRevalidation GetRevalidation()

Return Value

Type: System.Web::HttpCacheRevalidation

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

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

.NET Framework
Available since 4.6.2
Return to top
Show: