MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - FavIcon.ico

WebPagetest Forums

Full Version: FavIcon.ico
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey There,

I noticed in the test results a request always comes up for favicon.ico - the little icon that appears in the browser URL bar for some websites.

Code:
<link rel="shortcut icon" type="image/x-icon" href="http://www.<cfoutput>#myDomain#</cfoutput>/favicon.ico" />

I had the following in my code but after I tried removing it, the request still shows up. I also noticed the request usually occurs right after document complete gets sent.

Do all browsers automatically request this icon by default? If not, which browsers do and which browsers do not request it?

For anybody who reads this, you can get that little icon in your browser URL bar by adding favicon.ico to your root directory of your website.

Sincerely,
Travis Walters
(06-24-2010 05:12 PM)green-watch.org Wrote: [ -> ]Hey There,

I noticed in the test results a request always comes up for favicon.ico - the little icon that appears in the browser URL bar for some websites.

Code:
<link rel="shortcut icon" type="image/x-icon" href="http://www.<cfoutput>#myDomain#</cfoutput>/favicon.ico" />

I had the following in my code but after I tried removing it, the request still shows up. I also noticed the request usually occurs right after document complete gets sent.

Yes, most Browser do that nowadays. With the code you wrote you can reference any location for the favicon. If it is absent, the Browser tries to fetch it from the domains root instead (http://www.example.com/favicon.ico)

I don't know of any method, to suppress the Browser-Request at all.

(06-24-2010 05:12 PM)green-watch.org Wrote: [ -> ]Do all browsers automatically request this icon by default? If not, which browsers do and which browsers do not request it?

Actually the Wikipedia article has a matrix of Browser support, even splitted by Mime-Type support.

http://en.wikipedia.org/wiki/Favicon

(06-24-2010 05:12 PM)green-watch.org Wrote: [ -> ]For anybody who reads this, you can get that little icon in your browser URL bar by adding favicon.ico to your root directory of your website.

Sincerely,
Travis Walters
Reference URL's