otsukare Thoughts after a day of work

Useless HTTP requests - favicon

Since favicon has been introduced by Microsoft, browsers have implemented it. The issue is that it is using the well-known location anti-pattern. So each time you are accessing a Web page for the first time such as, the browser will make two HTTP requests:

You could set up a server and look at the results in your logs - - [15/Feb/2011 20:28:25] "GET / HTTP/1.1" 200 - - - [15/Feb/2011 20:28:25] "GET /favicon.ico HTTP/1.1" 200 -

There is a proper way to add a favicon to your site.

<link rel="icon" 
      href="/somewhere/myicon.png" />

I was curious if there was a way to remove the request of the favicon.

Browser config file Property Value

Opera 11 opera:config MultimediaAlwaysloadfavicon 0
Firefox 4 about:config false

browser configuration against favicons download

ps: if you know for other browsers, leave a comment.