Live data from Hacker News

1MB Club

1mb.club

231–240 of 392 posts

Re: 1MB Club

#231
post #184

Earlier quoted context omitted.

Don’t forget that also 1MB of JavaScript is much much more heavy on the client than 1MB image

Indeed, but you also get more bang for your downloaded buck. My toy project https://k8.fingswotidun.com/static/ide/?gist=ad96329670965dc... Gives you an emulator, an 8-bit AVR Assembler, and an IDE for just over 500k transferred. Almost all of it JavaScript. Using math.js is by far the heaviest part but at least your Asm already knows things like solarMass and planckConstant :-). CodeMirror comes in second heaviest b…

True, but clients can opt to not load (or lazy-load) images without too much adverse effect. JS-heavy sites often completely break without JS.

Re: 1MB Club

#232
post #73

Earlier quoted context omitted.

We also had super grainy images, no fonts (besides the default set) and no videos. We can complain about bloat, but I don’t think comparisons to the 90’s are totally appropriate, except as a dunk.

If you note, it wasn't actually a complaint, or a dunk. It was an observation, and recounting some personal experience. What is bloat, as far as I'm concerned, is hitting a page with a 4K background video. If you want a real "I had to walk 2 miles, barefoot" story, I can tell you about writing [C]WAP/WML sites (the old "m. " sites). I actually considered using XSLT to extract WML from the regular site HTML.

Some of us are older than that

Re: 1MB Club

#234
post #176
post #50

How accurate is this list? I see it mentions that visiting https://danluu.com/ downloads only 9.1 kB but when I actually visit this website with Google Chrome, in the Developer Tools' Network tab, I see that a total of 21.7 kB is transferred. Name Status Type Size ------------ ------ -------- -------- danluu.com 200 document 2.5 kB analytics.js 200 script 18.9 kB collect 200 xhr 67 B favicon.ico 404 text/html 266 B S…

Nice page. I only miss Firefox reader mode on these simple pages (for my preffered font size, and dark mode). I wonder if it's possible to hint to the browser that it should be available, even if the mark-up is simple? Ah, the late 90s and early 00s when we still had user.css (in a meaningful sense).

There are vestiges of user.css like the Style sheet option in Safari. [1] I do wish they were better supported, and that user styles automatically had priority over webpage styles.

[1]: https://support.apple.com/guide/safari/advanced-ibrw1075/mac

Re: 1MB Club

#236
post #50

How accurate is this list? I see it mentions that visiting https://danluu.com/ downloads only 9.1 kB but when I actually visit this website with Google Chrome, in the Developer Tools' Network tab, I see that a total of 21.7 kB is transferred. Name Status Type Size ------------ ------ -------- -------- danluu.com 200 document 2.5 kB analytics.js 200 script 18.9 kB collect 200 xhr 67 B favicon.ico 404 text/html 266 B S…

5c hint: a little bit of padding and max-width on your content would make it far more readable!

Re: 1MB Club

#237
post #50

How accurate is this list? I see it mentions that visiting https://danluu.com/ downloads only 9.1 kB but when I actually visit this website with Google Chrome, in the Developer Tools' Network tab, I see that a total of 21.7 kB is transferred. Name Status Type Size ------------ ------ -------- -------- danluu.com 200 document 2.5 kB analytics.js 200 script 18.9 kB collect 200 xhr 67 B favicon.ico 404 text/html 266 B S…

6 kB fits in the initial congestion window (first round trip) for TCP. [1]

Does an analogous window exist for QUIC and HTTP/3?

[1]: https://hpbn.co/building-blocks-of-tcp/#cwnd-growth

Re: 1MB Club

#238
Just checked our newest Blazor server-side web administration site in chrome devtools.

12 requests total, 322kB transferred (914kB uncompressed, so either way), finish in 991ms. Request was made between Texas and AWS us-east-1. Server running on a T3a instance. This is .NET Core 3.1 on Windows Server 2019.

Of the 322kB, blazor.server.js is 39.2k and our JS interop shim is 3k. This represents all that is required to communicate between server and client. The rest of the static source is ace code editor, bootstrap, jQuery and open iconic. All remaining interactions happen as deltas over the websocket connection.

Every day that I work with Blazor, I am further convinced that it is the only way to build our web applications moving forward. I don't have a good answer for Blazor server side in mass-scale public-facing scenarios (a la Netflix), but anyone can come up with an edge case to poke holes. Our 'internal' dashboards are actually accessible from the public web and we have not experienced any DDoS or other performance incidents. If something does come up, I will just pop the VM over to the internal network & require VPN access. That said, I really prefer accessing Blazor server side apps as directly as possible due to the latency concern.

Re: 1MB Club

#239
post #23

Interesting that a site that champions for performance has an ungodly favicon [0] that is 10x larger (15KB) than the page itself. [0] https://1mb.club/favicon.ico

What kind of an internet connection are you on that 15kb is significant? Performance is important, but if your site is clocking in at 17kb then you're probably doing okay.

Spoken like somebody who's never been to Antarctica. Or on a slow train WiFi for that matter...

Re: 1MB Club

#240
I love the idea and I think it is a very reasonable, although generous limit. Excessively generous, as @yellowapple called it, maybe. But I am indeed surprised to find not only tiny blogs and personal homepages on this list, but also government (gov.scot, gov.uk) and other resource intensive pages.

Despite all that, I propose an additional, even more exclusive club, because the internet needs a break. I propose 250kb compressed first-load size.

Post reply on HN