On Fri, Mar 27, 2009 at 7:15 AM, Paul Leader <[email protected]> wrote: > Right, I've done some more investigation. > > Turned up this article about a similar problem: > http://www.alagad.com/go/blog-entry/error-internet-explorer-cannot-download-filename-from-webserver > > It appears to be an issue regarding IE's somewhat esoteric > interpretation of the Cache-control headers. > > Is there a way for me to control the caching headers on a per > directory basis? I don't really want to write a rails controller to > serve up my js files if I can help it, but I will if that's the only > solution. As much as I would like everyone to use Firefox/Safari, > that isn't going to happen any time soon.
Were you able to figure out what combination of Cache-Control headers led to the problems under IE? From the alagad.com link you mentioned, it looked like the issue was having a "Cache-Control: no-cache" response header in an SSL connection. However, I get the following from the excanvas.js file you mentioned: $ curl -v http://graphomatic.heroku.com/javascripts/excanvas.js > /dev/null < HTTP/1.1 200 OK < Server: nginx/0.6.35 < Date: Fri, 27 Mar 2009 18:56:58 GMT < Content-Type: application/javascript < Connection: keep-alive < Vary: Accept-Encoding < Last-Modified: Fri, 27 Mar 2009 10:47:24 GMT < Cache-Control: public, max-age=43200 < Content-Length: 23826 < X-Varnish: 157620627 157620146 < Age: 224 < Via: 1.1 varnish I have seen reports of IE bugs like this when the Vary response header is present: http://crisp.tweakblogs.net/blog/311/internet-explorer-and-cacheing-beware-of-the-vary.html http://www.webmasterworld.com/apache/3834623.htm I'm researching potential ways we can address this with Varnish. If you can determine the exact combination of headers that cause the issue, I should be able to fix this fairly quickly. Thanks, Ryan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~----------~----~----~----~------~----~------~--~---
