Solved

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
4
42 Views
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 ?
0
Comment
Question by:Phil Catterall
[X]
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
4 Comments
 
LVL 28

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?

http://stackoverflow.com/questions/4204582/output-caching-still-adding-cache-controlno-cache-even-when-it-is-disabled

https://support.microsoft.com/en-us/kb/247404
0
 
LVL 28

Accepted Solution

by:
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:

<%response.CacheControl="no-cache"%>

Open in new window


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

Dan
0
 
LVL 28

Expert Comment

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

Dan
0
 
LVL 28

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.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
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 style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

632 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