Search code examples
htmlhttprequestfavicon

Favicon.ico and static servers?


Static servers are (partial) for not sending the main site cookies for every request.

Also they help with splitting connection( subdomains) so that the browser will be able to download in parallel.

But I looked at viewsource of the http://winterba.sh/copacabana

And in the head section they used the same facivon name but via specific location

 <link rel="shortcut icon" href="http://cdn.prom.sstatic.net/WinterBash/img/favicon.ico">

Why did they do that ? what benefit does it provides ?

This is suppose to be when I want to load the favicon but with a different name .

But why should i do it ? the browser searches favicon.ico automatically. ( and they didnt rename it)

Once the favicon is downloaded , the next time it will be taken from the cache...

so ...why ?


Solution

  • It's a CDN. The whole purpose of a CDN is to serve static files fast. The file is probably called favicon.ico because that's what favicons are usually called, and is not relevant.