I was trying to add a favicon to a website earlier and looked for a better way to implement this than to dump a favicon.ico file in the root of the website.
favicon.ico
This is how they're doing it right here on Stack Overflow: