cm0002@lemmy.world to Programmer Humor@programming.dev · 2 years agoWhy indeedlemmy.mlimagemessage-square196linkfedilinkarrow-up11.55Karrow-down128cross-posted to: programmerhumor@lemmy.ml
arrow-up11.52Karrow-down1imageWhy indeedlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 years agomessage-square196linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squarelobut@lemmy.calinkfedilinkarrow-up36·edit-22 years agoWeb “Apps” are also quite bad. Lots of and lots of stuff we’re downloading and it feels clunky. Sometimes that’s bad coding, poor optimization, third party libraries, or sometimes just including trackers/ads on the page.
minus-squareOnomatopoeia@lemmy.cafelinkfedilinkEnglisharrow-up43·2 years agoI vaguely recall a recent-ish article that an average web page is 30mb. That’s right, thirty megabytes. It’s amazing how much faster web browsing becomes when I run PiHole and block most of it. Suddenly the TV is pretty snappy, and all browsers feel so much smoother.
minus-squareLemminary@lemmy.worldlinkfedilinkarrow-up7·2 years agoAnd I’m sitting here uneasy thinking how the hell I’m going to compress my map data any further so that my entire web app is no bigger than 2 mb. 😥
minus-squareThe Ramen Dutchman@ttrpg.networklinkfedilinkarrow-up8·2 years agoNo, you need to go further: https://512kb.club/
minus-squareLemminary@lemmy.worldlinkfedilinkarrow-up2·2 years agoOh god, I’m not ready for the trauma and the emotional scars… D:
minus-squareSorryQuick@lemmy.calinkfedilinkarrow-up6·2 years agoThat’s straight up not true. It’s not even remotely close to that. https://httparchive.org/reports/page-weight
minus-squarethesystemisdown@lemmy.worldlinkfedilinkEnglisharrow-up21·2 years agoSome devs will include a whole library for one thing instead of trying to learn another way to do that thing.
minus-squarechraebsli@programming.devlinkfedilinkarrow-up13·2 years agoA whole library which was meant to to 10 things, but you only use one. And that for x libraries
minus-squarebleistift2@sopuli.xyzlinkfedilinkEnglisharrow-up7·2 years agoNowadays libraries are built with tree-shaking in mind, so when it’s time to deploy the app only the code that’s actually used gets bundled.
Web “Apps” are also quite bad. Lots of and lots of stuff we’re downloading and it feels clunky.
Sometimes that’s bad coding, poor optimization, third party libraries, or sometimes just including trackers/ads on the page.
I vaguely recall a recent-ish article that an average web page is 30mb. That’s right, thirty megabytes.
It’s amazing how much faster web browsing becomes when I run PiHole and block most of it.
Suddenly the TV is pretty snappy, and all browsers feel so much smoother.
And I’m sitting here uneasy thinking how the hell I’m going to compress my map data any further so that my entire web app is no bigger than 2 mb. 😥
No, you need to go further: https://512kb.club/
Oh god, I’m not ready for the trauma and the emotional scars… D:
That’s straight up not true. It’s not even remotely close to that.
https://httparchive.org/reports/page-weight
Some devs will include a whole library for one thing instead of trying to learn another way to do that thing.
from * import *A whole library which was meant to to 10 things, but you only use one. And that for x libraries
Nowadays libraries are built with tree-shaking in mind, so when it’s time to deploy the app only the code that’s actually used gets bundled.