By default, the ICO file format stores data in the BMP file format, so favicon.ico is so large.
You can save the data in PNG format by exporting them using GIMP or sending compressed gzip. Remember that not all browsers support PNG favicon.ico format, and those older browsers (IE <6) do not support gzip compression.
Currently, most modern browsers support the <link> method in the HTML source code for a specific icon of different sizes and formats. You can add something similar to your source code to use PNG and SVG format icons.
<head> <link rel="icon" href="/favicon-32x32.png" type="image/png" sizes="32x32"> <link rel="icon" href="/favicon-16x16.png" type="image/png" sizes="16x16"> <link rel="icon" href="/favicon.svg" type="image/svg+xml" sizes="any"> </head>
You can check out more tips for optimizing your icon in this guide .
source share