Is HttpResponse.Cache the preferred way to control caching? HttpResponse is only available in ASP.NET compatibility mode. No, you don't need ASP.NET compatibility mode to set cache headers. In fact, almost everything from HttpResponse can be done by attaching