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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 27

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 28

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 28

Expert Comment

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

LVL 27

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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
HTML question 2 33
How to block and Redirect the pages on IIS 6.0 5 29
Boolean 13 50
Excel to HTML macro with inserting lines 14 51
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

738 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