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

Posted on 2016-10-10
Last Modified: 2016-11-13
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 ?
Question by:Phil Catterall
  • 2
  • 2
LVL 26

Assisted Solution

by:Dr. Klahn
Dr. Klahn earned 250 total points (awarded by participants)
ID: 41837344
There are apparently some issues with this going back to IIS 7 according to various commenters.

Have you looked at these resources already?
LVL 27

Accepted Solution

Dan McFadden earned 250 total points (awarded by participants)
ID: 41838380
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:

LVL 27

Expert Comment

by:Dan McFadden
ID: 41858640
Any additional info for this question?

LVL 26

Expert Comment

by:Dr. Klahn
ID: 41885200
EE email requested stale question closure.  Two solutions proposed, no response.  Worth keeping in the archives for future reference.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question