Isn't it silly that a tiny favicon requires yet another HTTP request? How can I put the favicon into a sprite?

后端 未结 14 1829
暖寄归人
暖寄归人 2020-11-29 14:58

Everybody knows how to set up a favicon.ico link in HTML:



        
14条回答
  •  被撕碎了的回忆
    2020-11-29 15:19

    I think for the most part it does not result in another HTTP request as these are usually dumped in the browser's cache after the first access.

    This is actually more efficient than any of the proposed "solutions".

提交回复
热议问题