HTML – 子文件夹中的favicons的任何问题?

将favicon和apple touch图标移动到子文件夹会有问题吗?
喜欢:

最佳答案
是的,有些浏览器在开始下载HTML文档的同时开始下载/favicon.ico.如果没有文件,您将在服务器日志中获得额外的404,并且当浏览器识别出其他位置的图标时,浏览器将不得不发出额外的HTTP请求.

雅虎Best Practices for Speeding Up Your Web Site引用:

The favicon.ico is an image that stays
in the root of your server. It’s a
necessary evil because even if you
don’t care about it the browser will
still request it,so it’s better not
to respond with a 404 Not Found. Also
since it’s on the same server,cookies
are sent every time it’s requested.
This image also interferes with the
download sequence,for example in IE
when you request extra components in
the onload,the favicon will be
downloaded before these extra
components.

相关文章

vue阻止冒泡事件 阻止点击事件的执行 <div @click=&a...
尝试过使用网友说的API接口获取 找到的都是失效了 暂时就使用...
后台我拿的数据是这样的格式: [ {id:1 , parentId: 0, name:...
JAVA下载文件防重复点击,防止多次下载请求,Cookie方式快速简...
Mip是什么意思以及作用有哪些