Tuesday, July 7, 2009

Favicon Optimization - Some facts

Every time a page a requested, favicon is also downloaded if present at the server. Though favicon download doesn't affect you page response time directly, but it share the bandwidth. So better to keep favicon small (preferably less than 1 KB) & cacheable.
Favicon can be used in two ways:
  • Keeping the favicon.ico file in the server root directory
  • favicon.ico using link attribute in the header of the HTML
I consider second approach better for the following reasons
  • can be cached with the proper expiry header and can be served from CDN.
  • E.g. <link rel="shortcut icon" href="http://in.yahoo.com/favicon.ico" type="image/x-icon" />
Please note that, If favicon is changed, It name cann't be changed to clear the cache, so choose the expiry time wisely.

However there are something more to know about the second approach:
  • IE loads favicon before lazy-loaded components.
  • It increases the load on your application server.
  • Favicon loaded with a <link> are loaded early in the FF waterfall

Saturday, July 4, 2009


After using Evolution & Outlook, I move to Thunderbird. Definitely it is the best mail client I ever used. However, I tried some of it useful configurable options.

A. Modifying Thunderbird's Reply Header [1] : By default while replying, you may want to include the date (timestamp). Go to Edit / Tools => Preferences / Options => Advanced => Config Editor => search for "mailnews.reply_header_type" and set it 3.

[1] http://panicbook.blogspot.com/2006/10/modifying-thunderbirds-reply-header.html

B. Lightning at Thunderbird 3.0
1. Go to 'Tools -> Add-ons'
2. Click 'Get Add-ons' tab
3. Search for "Lightning" here or at https://addons.mozilla.org/en-US/thunderbird/
4. The results will show "Lightning Nightly Updater (Unofficial)"
5. Install it
6. Restart Thunderbird
7. Go to 'Help -> Check for Latest Lightning Nightly Builds...'
8. Pop-up will show the latest Nightly Build of Lightning which is available
9. Click on Install
10. Restart Thunderbird


Related Posts with Thumbnails