If I serve /favicon.ico as image/vnd.microsoft.icon, instead of image/x-icon, will it break on any browsers?

后端 未结 2 1168
一整个雨季
一整个雨季 2021-01-11 19:15

If I configure Apache to serve /favicon.ico as MIME type image/vnd.microsoft.icon, instead of image/x-icon, will it break on any browsers? Wikipedia\'s favicon

相关标签:
2条回答
  • 2021-01-11 19:33

    Google serve /favicon.ico as image/x-icon, and I'd guess they know what they're talking about (or at least, what's compatible).

    0 讨论(0)
  • 2021-01-11 19:36

    Off the top of my head, image/vnd.microsoft.icon will work only if the image actually is a real ICO file, while image/x-icon is less fussy, and will also work for bitmaps and GIF images. (Non-ICO files with the .ico file extension are, I believe, quite common.)

    0 讨论(0)
提交回复
热议问题