News for hackers. Stuff that matters.
Re:A Go Package for Building Progressive Web Apps by andreygrehov on Friday September 17, 2021 @11:24AM (#28566546)
Genuine question. What's the underlying issue behind this concern? When I'm reading your numbers, my first reaction is that 5-15MB these days is peanuts. What use cases am I missing?
Re:A Go Package for Building Progressive Web Apps by travisd on Friday September 17, 2021 @11:29AM (#28566617)
In web contexts, we usually shoot for sub 1MB (ideally ~250kb for static sites). The main reason is usually just optimizing for mobile experiences. People expect to wait a while to download a 200MB app, but if you have to wait 5s for a webpage you’re very likely to click away.

Of course it’s partially a function of your target audience. Notion and Retool (for example) are able to ship massive multi megabyte bundles because they’re productivity apps targeted mostly towards people with desktops and high speed internet connections. If HN were to ship a 15MB bundle it’d be virtually unusable on mobile for a lot of people (myself included, and I live in Seattle!).

Re:A Go Package for Building Progressive Web Apps by andreygrehov on Friday September 17, 2021 @11:57AM (#28566984)
I agree. I'm all for static, low-size websites and that is something I always strive for. But, the internet speed keeps improving. 5MB app won't take 5s to load these days. 1 megabit-per-second connection needs 8 seconds to load 1MB. Most internet providers offer 300Mbit/s minimum ($39/month). But even with 50Mbit/s channel, it'll only take 0.8s to load 5MB.
Re:A Go Package for Building Progressive Web Apps by hbn on Friday September 17, 2021 @12:17PM (#28567260)
Not everyone has access to all options from internet providers. There's people on slow, satellite internet. Hell, there's still a non-negligible amount of people still using dial-up in the US.

https://www.statista.com/statistics/185532/us-household-dial...

(URL says 2009, but it was updated with statistics for 2019)

Re:A Go Package for Building Progressive Web Apps by mattnewton on Friday September 17, 2021 @12:04PM (#28567083)
It very well might depending on the audience and the percentile you target. 90th percentile times show that those larger speeds are not consistent, often showing a bifurcated distribution where the tail is experiencing loss / latency that compounds the more request and the larger they are.

Of course if the development benefits for your team outweigh it, it makes sense to do it. Just mean to say advertised cellphone connection speeds are not a reliable benchmark to hit.

Re:A Go Package for Building Progressive Web Apps by freedomben on Friday September 17, 2021 @01:12PM (#28567996)
When I moved away from Alaska a couple of years ago, the fastest speed available to me was 768k. sites with several mb were virtually unusable, and so many of the would refresh or ajax recklessly as though bandwidth were huge and infinite. much of the modern web was completely unusable.
Re:A Go Package for Building Progressive Web Apps by smoe on Friday September 17, 2021 @11:54AM (#28566951)
I work in Latin America and with the kind of low end phones and flakey mobile connections that a lot of people use here, 5-15MB is a pretty big issue. E.g. what I have seen from metrics is phones spending seconds just parsing/compiling those huge javascript bundles loading websites that don't do much more than turning json into html.

A lot of modern web is a nightmare to use if you have a ~$50 android phone and are lucky if you have a decent 3G connection.

Re:A Go Package for Building Progressive Web Apps by oefrha on Friday September 17, 2021 @11:31AM (#28566635)
The Website Obesity Crisis was prescient:

> If present trends continue, there is the real chance that articles warning about page bloat could exceed 5 megabytes in size by 2020.

> The problem with picking any particular size as a threshold is that it encourages us to define deviancy down. Today’s egregiously bloated site becomes tomorrow’s typical page, and next year’s elegantly slim design.

https://idlewords.com/talks/website_obesity.htm

Re:A Go Package for Building Progressive Web Apps by karmanyaahm on Friday September 17, 2021 @02:12PM (#28568913)
I'm on crowded public wifi right now and the site spent 4-5 seconds on the loading screen.
Re:A Go Package for Building Progressive Web Apps by da39a3ee on Friday September 17, 2021 @12:35PM (#28567537)
You seem to be forgetting all the people in the world that are not on fast network connections.

Genuine question: how did you manage to forget something so huge?

Re:A Go Package for Building Progressive Web Apps by andreygrehov on Friday September 17, 2021 @12:59PM (#28567819)
I'm originally from Ukraine. My mom's internet connection there is 100Mbit/s and she pays $9 per month ¯\_(ツ)_/¯
Re:A Go Package for Building Progressive Web Apps by da39a3ee on Friday September 17, 2021 @01:14PM (#28568035)
ok, so sounds like ukraine is in the subset of the world with fast internet, or at least your mum's town. But I don't see how that answers the question -- what about rural south america, rural africa?
Re:A Go Package for Building Progressive Web Apps by andreygrehov on Friday September 17, 2021 @01:33PM (#28568326)
I mean, pretty much every tech serves a percentile of population. It can not please everyone.
Re:A Go Package for Building Progressive Web Apps by da39a3ee on Sunday September 19, 2021 @01:56AM (#28582032)
Yes. You were asking what use cases you were missing. The answer was people on slow networks.