I am seeing no-cache http header on every page served by my IIS 8.5 server (Windows 2012 R2)

I have a web site hosted on Server2012 R2 and every page served has an HTTP Response header of "no-cache". I have set the "Common http response headers" in IIS to expire after 7 days and added a "Cache-Control max-age = 604800" NV pair to the http response headers, but I still see "no-cache" on every page.
Any clues ?
Phil CatterallAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

Dan McFaddenConnect With a Mentor Systems EngineerCommented:
There is a chance that the response headers are being set in code.  Can you post a screen shot of your HTTP Response Header config for your site?

I would search thru a few files in the web site and check for something like the following:


Open in new window

Reference Link:  http://www.w3schools.com/asp/prop_cachecontrol.asp

Dr. KlahnConnect With a Mentor Principal Software EngineerCommented:
There are apparently some issues with this going back to IIS 7 according to various commenters.

Have you looked at these resources already?


Dan McFaddenSystems EngineerCommented:
Any additional info for this question?

Dr. KlahnPrincipal Software EngineerCommented:
EE email requested stale question closure.  Two solutions proposed, no response.  Worth keeping in the archives for future reference.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.