Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have the following line in my apache config for a website:

Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"

Part of the website generates CSVs that can be downloaded but in IE, with this line present in the config IE presents the following error:

Internet Explorer cannot download admin/ from wwww.domain.com
Internet Explorer was not able to open this Internet site.  The requested site is either unavailable or cannot be found.  Please try again later.

Is this a known issue with IE and is there a known fix? Or is there a way to only implement the cache control on certain pages?

If I comment out that line it works fine in IE.

Can I add something like this to the < head > of pages that require it instead of the apache config line?

<meta http-equiv="CACHE-CONTROL" content="NO-STORE, NO-CACHE, MUST-REVALIDATE, POST-CHECK=0, PRE-CHECK=0" />
share|improve this question
    
What other headers are you sending with the file? –  Darryl Hein Aug 17 '09 at 9:54

1 Answer 1

up vote 1 down vote accepted

Looks like it's the 'no-cache' header that's causing the problem:

Can you set an Expires header instead?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.