News for hackers. Stuff that matters.
Re:We analyzed 425k favicons by fbrchps on Wednesday October 20, 2021 @04:45PM (#28936275)
Oh hey, Discord must have seen this article -- their favicon is down to 14k now.
Re:We analyzed 425k favicons by ehsankia on Wednesday October 20, 2021 @07:20PM (#28938137)
It's not, at least for me. If you checked in devtools, that's gzip over the wire size. Hover over the size and it'll show you the actual resource size, still 285k for me.
Re:We analyzed 425k favicons by jhgg on Wednesday October 20, 2021 @07:58PM (#28938486)
I committed a fix, it's now 24k uncompressed! :)
Re:We analyzed 425k favicons by blitzar on Thursday October 21, 2021 @04:29AM (#28941846)
Congratulations. Don't forget your 11x improvement when it comes to the end of year reviews.
Re:We analyzed 425k favicons by ajyotirmay on Wednesday October 27, 2021 @06:44AM (#29011483)
Yes it is! That should go on your profile. I wonder how much money that simple change is going to save!
Re:We analyzed 425k favicons by dmurray on Wednesday October 20, 2021 @07:29PM (#28938214)
The gzipped size is probably the correct metric to care about, right? Virtually all browsers will support that.

Sure, Discord could do a bit better, but it's not correct to knock them here for costing their users 285KB.

Re:We analyzed 425k favicons by MrBoomixer on Wednesday October 20, 2021 @07:43PM (#28938345)
This is bad math, not researched heavily but in 2020 discord had 300 million users. 285kb goes a long way with wasted energy and bits flowing through the pipes. I agree generally with what your saying though gzipped sizes are what's being sent some CPU usage somewhere to unzip. less bytes == less waste?
Re:We analyzed 425k favicons by lmm on Wednesday October 20, 2021 @08:38PM (#28938780)
PNG basically includes gzip in the file format, so you're not reducing the amount of CPU used, you're just moving where it happens.
Re:We analyzed 425k favicons by giantrobot on Wednesday October 20, 2021 @11:46PM (#28939971)
Includes but doesn't always use. PNG also includes filters which can dramatically decrease sizes, especially when combined with compression.

That's why tools like OptiPng basically brute force all the combination of options. Depending on the image content different combinations of filters and compression will get the best file size.

Re:We analyzed 425k favicons by gremloni on Wednesday October 20, 2021 @05:26PM (#28936881)
That’s lit and a fantastic turnaround. Great work to whoever is reading this!