How do I enable gzip for favicon.ico?

#1
Hello,
Webpagetest.org shows me that gzip is not activated for the favicon.ico.
The MIME type entry "image/x-icon" under "WebAdmin Console -> Tuning -> GZIP Compression -> Compressible Types" has unfortunately brought nothing.
Is there another way gzip for *.ico to activate?
 

NiteWave

Administrator
#2
https://en.wikipedia.org/wiki/ICO_(file_format)
While the IANA-registered MIME type for ICO files is image/vnd.microsoft.icon,[8] it was submitted to IANA in 2003 by a third party and is not recognized by Microsoft software, which uses image/x-icon instead.[9] Erroneous types image/ico, image/icon, text/ico and application/ico have also been seen in use.
WebAdmin Console -> General -> MIME Settings: $SERVER_ROOT/conf/mime.properties
ico: image/vnd.microsoft.icon
but according above wiki, it looks like image/x-icon is better :)
please try either way:
1. in WebAdmin Console -> Tuning -> GZIP Compression -> Compressible Types, add image/vnd.microsoft.icon
or
2. keep your image/x-icon in above "Compressible Types", modify above "MIME Settings", map ico to image/x-icon
 
Top