http响应头中设置 Cache-Control: no-cache 时, IE10及以下版本无法显示 favicon

http响应头中设置 Cache-Control: no-cache 时, IE10及以下版本无法显示 favicon
微软官方论坛解释如下:
https://blogs.msdn.microsoft.com/jeffdav/2007/03/01/why-doesnt-the-favicon-for-my-site-appear-in-ie7/
Q: I verified that my favicon really is an icon, but it still doesn’t appear.
A: Since IE loads your icon out of the Temporary Internet Files folder, it must be able to actually store it there.  If you are setting the no-cache directive for the icon file, then IE will not be able to display your icon and will display the default icon instead.  You can use Fiddler to verify.

 

http响应头中设置 Cache-Control: no-cache 时, IE10及以下版本无法显示 favicon》有1个想法

发表评论

电子邮件地址不会被公开。 必填项已用*标注

您可以使用这些HTML标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>