7 ms·
A nano font but huge images. The large image is a 4873 KB bitmap which can be losslessly compressed to 47 KB using PNG.
by 3rd3 3y ago
A nano font but huge images. The large image is a 4873 KB bitmap which can be losslessly compressed to 47 KB using PNG.
- vardump 3y agoNowadays it's often hard to even notice a 4 MB file, especially when you're on a gigabit connection or better. Of course unfortunately not everyone has a connection like that. But can understand how someone might have missed it.
- andenacitelli 3y agoThis is sometimes so hard to remember. There’s so much content on optimizing for page size — and admittedly, it does matter a lot in some industries like e-commerce and/or if you have users in less developed countries — but quite a lot of situations kind of just let you ignore it. I work in B2B and we frankly put way more effort in than we should have to optimize bundle size before just making the assumption that everyone has a good connection and we didn’t really need to worry about it.
- qingcharles 3y agoI work with parolees who often only have government-issued phones with maybe 5GB or 15GB of data per month, which generally only lasts the first couple of days of the month due to issues like that. I come across home pages regularly now that are >250MB of download :(
- lencastre 3y agoWhat? Can you provide links to a page that is 250 MB download?
- qingcharles 2y agoI'll try and find some. I remember the ones I hit were "magazine" style news sites. Without uBlock they are horrible with huge video payloads in the sidebars etc.
- consp 3y ago> Nowadays it's often hard to even notice a 4 MB file, especially when you're on a gigabit connection or better. The images on the page load quite slowly. Wifi is terrible here due to way too many hotspots and way too many different businesses providing their own wifi. And the trunk which it is on is also horrible in it's own right so even when the wifi connnection is ok, it's still broken. So no, this is not fine. (ping is between 100-4000ms on a good day and speeds between 100Kb/s to about 40Mb/s (that's bit, not misspelled byte), on a bad day it's None)
- vardump 3y agoNo one said it's fine.
- dheera 3y agoGithub also loads something like 4.6MB of JavaScripts and other crap, according to chrome dev tools, so ...
- bonki 3y agoI won't defend that, but at least that will mostly be cached and reused. There is really no excuse for huge pictures like that, especially when they can be losslessly compressed to a fraction of their size.
- Moru 3y agoIt's also compressed while sending so that is most likely the unpacked size you see there.