Internet Explorer 6+ https 缓存
我强制缓存一些文件(通过 Cache-Control 等标头)。如果这些文件是通过 https (SSL) 发送的,Internet Explorer 6+ 尝试缓存这些文件时是否会出现任何错误?
感谢您的帮助。
I am forcing some files to be cached (through headers like Cache-Control, etc). Are there any errors with Internet Explorer 6+ trying to cache those files if they're sent through https (SSL)?
Thanks for helping.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不,没有。一般来说,IE 并不以遵守标准而闻名,但它尊重这个标准。
但是,请注意代理:其中一些代理不会缓存内容,除非您在
Cache-Control
标头中包含public
。(请注意,默认情况下,IE6 不会使用带有代理的 HTTP/1.1,这意味着,通过其扭曲的逻辑,它不会使用 keepalive 或压缩!)
No there aren't. IE in general is not renowned for obeying standards, but this one it respects OK.
However, beware of proxies: some of them will not cache content until you have
public
in theCache-Control
header.(and beware that IE6 will not use HTTP/1.1 with proxies by default, which means, by its twisted logic, that it won't either use keepalive or compression!)
我知道的一个问题是,如果禁用缓存,IE 将不允许您通过 HTTPS 下载文件。因此,如果您的应用程序允许用户通过 HTTPS 下载生成的文件,并且您在其上设置了 no-cache 标头,则 IE 将不允许用户将此类文件保存在磁盘上(因为这将缓存)...
One issue I'm aware of is that if you disable caching IE will not allow you to download files via HTTPS. So if you application, say, allows user to download a generated file via HTTPS and you set no-cache header on it, IE will not allow the user to save such file on disk (because that would be caching)...