Our IIS server (v7) has the following settings in its custome HTTP headers for the whole site:
Pragma: no-cacheCache-Control: private, no-cache, no-store, max-age=0, must-revalidate, post-check=0, pre-check=0X-Powered-By: ASP.NET
Out of the whole site there are some pages require to remove the "no cache" setting to work properly. This is done manually by IIS Administrator before. Now we were told that we need to do it from code on our end. The following code were applied but no luck in success. Please advise! Thanks!
Response.Headers.Remove("Pragma")Response.Headers.Remove("Cache-Control")Response.Headers.Add("Cache-Control")Response.CacheControl = "System.Web.HttpCacheability.Public"
View Complete Post