HEELPBOOK - htaccess - Cache Your Favicon to Speed Up Your Site ####################### Learn how to cache the favicon on your web site to reduce the number of HTTP requests, speed up your site, and lessen your server load. Every time someone loads a page from your Mambo site the favicon is requested. When search bots visit your site they can generate a lot of traffic with calls to the favicon. Here-s how to do something about this: - Check that your server is running Apache. - Check that your server is running mod_headers (most are) - Check that you can use an .htaccess file (if you are using the inbuilt Mambo SEF then you are already using .htaccess) If all these are in place, then add this directive to your .htaccess file. Header set Expires "expiryDate" You can set the expiryDate to any date in the future that you want. So, for example, if you plan to have your site online for several years and don't think you will change your favicon for a long time, then this may be appropriate: "Mon, 20 Apr 2015 23:30:00 GMT". Here's the completed directive: Header set Expires "Mon, 20 Apr 2015 23:30:00 GMT" ############ ARTICLE INFO ############# Article Month: May Article Date: 15/05/2012 Permalink: http://heelpbook.altervista.org/2012/htaccess-cache-your-favicon-to-speed-up-your-site/ Source: http://lynnepope.net/cache-your-favicon Language: English View more articles on: http://www.heelpbook.net/ Follow us on Facebook: http://it-it.facebook.com/pages/HeelpBook/100790870008832 Follow us on Twitter: https://twitter.com/#!/HeelpBook Follow us on RSS Feed: http://feeds.feedburner.com/Heelpbook Follow us on Delicious: http://delicious.com/heelpbook