Sunday, October 28, 2012

Regarding favicon.ico and related 404.

In recent times the /favicon.ico hit was showing up many 404's in the Web servers access logs. Found that ga.js is accessing this link and it is not finding the icon in the default root of the site which it ideally should.

Performance tip - 
Make sure there’s a favicon.ico file in the root of the site, i.e. /favicon.ico. Browsers will automatically request it, even if the icon isn’t mentioned in the HTML at all. If you don’t have a /favicon.ico, this will result in a lot of 404s, draining your server’s bandwidth.

Refer -
http://programmers.stackexchange.com/questions/46716/what-should-every-programmer-know-about-web-development

No comments:

Post a Comment