favicon.ico is currently 5430 bytes. That's 5.3 KB. For an icon most people don't even look at.

Why is it this large? Mostly because there are actually two images embedded in this one file. A 16x16 favicon and a 32x32 favicon. Why not settle on a single 16x16 favicon? It's smaller. It's better for WPO. Sites that really care about this probably won't use the default favicon anyway. Drupal should be optimized for good performance out of the box.

I generated a 1130 bytes large, 16x16 pixels alternative favicon using the following commands (convert is part of ImageMagick):

convert favicon.ico favicon.png
convert favicon-0.png -alpha on -background none favicon-small.ico
CommentFileSizeAuthor
#1 favicon.ico_.zip1.09 KBwim leers

Comments

wim leers’s picture

StatusFileSize
new1.09 KB

Hurray.

The selected file favicon.ico could not be uploaded. Only files with the following extensions are allowed: jpg jpeg gif png txt xls pdf ppt pps odt ods odp gz tgz patch diff zip test info po pot psd svg.

I get this after the node has been created.

Bojhan’s picture

I see no reason why we shouldn't do this, i'll ping catch.

droplet’s picture

"two images embedded in this one file. A 16x16 favicon and a 32x32 favicon"

a big one 32x32 is enough. what device don't support ico bigger than 16px

sun’s picture

Component: base system » other
Status: Needs review » Reviewed & tested by the community
Issue tags: +frontend performance

32x32 was "in" when people still dragged URLs/bookmarks onto their desktop.

Today, no one is really doing that anymore, as browsers have much better bookmarks, and the web also introduced external social bookmark services.

Druplicon is still available in multiple different and larger sizes in /misc/druplicon.png

Bojhan’s picture

Totally agree with @sun here, I dont think the use of bookmark on your "desktop" which is used in some occasions is really applicable here either.

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 7.x and 8.x.

Automatically closed -- issue fixed for 2 weeks with no activity.