Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
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
Medium Priority
?
56 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 29

Assisted Solution

by:Dr. Klahn
Dr. Klahn earned 1000 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 1000 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 29

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
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…

688 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