ASP.NET Core Caching Extensions Provides the HttpContext.GetRequestCacheControl() extension method for accessing the HTTP/1.1 Cache-Control and HTTP/1.0 Pragma header directives.