THE SQL Server Blog Spot on the Web

Welcome to - The SQL Server blog spot on the web Sign in | |
in Search

Greg Low (The Bit Bucket: IDisposable)

Ramblings of Greg Low (SQL Server MVP, MCM and Microsoft RD) - SQL Down Under

Adding Good Favicons to your MVC Based Website

This blog has moved! You can find this content at the following new location:

Published Friday, February 28, 2014 6:14 PM by Greg Low

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS



James Green (AU) said:

Nice post Greg.  I would suggest favicons have never been more important than now when 50+ Chrome tabs is the new Bookmarks...

All I wanted to add is that some browsers will try a GET to ~/favicon.ico anyway, so I advise that naming & placing it at the site root for that reason.

Also, favicons are often cached by browsers past what the HTTP Headers ask for (I suspect so they are persisted for use in Bookmarks etc) so keep that in mind when versioning / troubleshooting them.  Adding a trivial query string parameter such as ?v=2 to the path is a quick way around that.

February 28, 2014 6:43 AM

Allen McGuire said:

Or, just drop it in the root, called favicon.ico?

February 28, 2014 8:38 AM

Greg Low said:

Thanks James and Allen, I've modified it to suit. That sounds like a great recommendation.

February 28, 2014 5:50 PM

Amien said:

Thanks a lot!!!!

Cheers !!

February 16, 2016 11:21 AM

Leave a Comment


This Blog



No tags have been created or used yet.


Privacy Statement