[wp-trac] Re: [WordPress Trac] #3426: Should include default favicon

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 12 16:57:00 GMT 2008

#3426: Should include default favicon
 Reporter:  robertaccettura  |        Owner:  cpoteet 
     Type:  enhancement      |       Status:  reopened
 Priority:  normal           |    Milestone:          
Component:  Template         |      Version:          
 Severity:  trivial          |   Resolution:          
 Keywords:  favicon          |  
Changes (by revmj):

  * priority:  lowest => normal
  * status:  closed => reopened
  * resolution:  wontfix =>


 Replying to [ticket:3426 robertaccettura]:
 > By default there should be a favicon.  Some browsers (won't mention
 names) try and retrieve whatever is at /favicon.ico (for those of us who
 install wp at the root of the hostname.  If wordpress handles 404's as
 well, you'll be wasting cpu/memory to serve up a 404 for not good reason.
 I guess it could be a wordpress logo, or just something generic like a
 white square (blank in the url bar) 100% transparent (does that work in
 all browsers?) or something else rather neutral.
 > It's rather wasteful on behalf of the UA, but I guess that's the way the
 cookie crumbles.

 I'm re-opening this as I work for a web host that provides one-click
 installations of word press.  While including a default favicon.ico may
 not be ideal, I can say the lack of a favicon.ico causes the CPU usage of
 a site to jump by 400%.  This is really pretty insane.

 So here are 2 alternatives to including a favicon.ico:

 1.  During the setup process, simply do a 'touch' of the favicon.ico file
 in the base of the install.  If you are concerned about changing the mtime
 of the file, then check for it's existence first.  You could even
 implement putting a WordPress branded favicon.ico in place if you wanted
 the additional free "advertising".

 2.  Modify the default .htaccess file to not redirect to index.php on a
 404 error if the requested files was favicon.ico.

 Either of these solutions would resolve this issue.  This bug was reported
 2 years ago.  Think of how many barrels of oil have been burned
 needlessly.  Just think of the positive spin you could put on this simple
 fix in comparison to the negative spin that could easily be applied.
 Seems like a no-brainer to me.

Ticket URL: <http://trac.wordpress.org/ticket/3426#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list