Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Workaround for IE no-cache bug |
|
Author |
|
chfrocka
Joined: 21 Jun 2007 Posts: 2
|
Posted: Thu 21 Jun '07 19:40 Post subject: Workaround for IE no-cache bug |
|
|
I'm using Apache 2.0.59 as a reverse proxy to an app server that among other things, serves up files in Word andExcel format.
The client accesses the Apache server using SSL.
There is a somewhat well-known bug (http://support.microsoft.com/kb/815313) in IE 5+ where if you are opening a document like descibed above and there is a response header of Cache-Control:no-cache and/or Pragma:no-cache, IE errors out on the download. The error can be something like: "Internet Explorer cannot download <filename>" ... "file cannot be written to the cache".
Looking at the headers going back and forth, it looks like Apache is adding Cache-Control:no-cache and Pragma:no-cache to every response.
I tried using Header unset, but no luck there. Any suggestions on how to workaround this IE problem?
Thanks! |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Sun 24 Jun '07 12:36 Post subject: |
|
|
That is only with IE6 SP1 or earlier. Since Win XP does have SP2 (IE than have SP 2 as well) it works fine. Now there is IE 7! IE 6 SP 1 is rather old... SP 2 came out in 2005. |
|
Back to top |
|
chfrocka
Joined: 21 Jun 2007 Posts: 2
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 25 Jun '07 9:27 Post subject: |
|
|
If you deliver the files with PHP, you could send those headers. But the Apache/PHP Process would grow in memory with the file size you offer to download. |
|
Back to top |
|
|
|
|
|
|