1

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" />
1
  • What other headers are you sending with the file? Aug 17, 2009 at 9:54

1 Answer 1

1

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

Can you set an Expires header instead?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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