Live data from Hacker News

1MB Club

1mb.club

341–350 of 392 posts

Re: 1MB Club

#341
post #190

I don't mind highlighting and curating small sites for fun, that's neat. But calling larger sites a "cancerous growth on the web" just feels immature to me. Everything is just cost/benefit. There's no need to bring a black-and-white fanatical exaggerated mindset to it. You can celebrate something you like without having to make the alternative a disease , sheesh.

With all due respect. Modern news websites are a disease, and I find it pretty hard to disagree with the nomer cancerous growth since the behavior is spreading, and normalized by these websites. There is zero benefit to me in loading 20mb of garbage just so I can read 10kb of text.

And of those 10kb one line is the actual content and the rest is ELI5. In their defense can say that news websites are predominantly compatible with noscript.

Re: 1MB Club

#342
post #45

Ahh let the bikeshedding continue. In these situations all I want to say is "Who cares". Optimization matters when it actually solves a problem, before that it's just wasted effort. I don't hear the general public yelling from the rooftops "The web is too slow! Developers are building too fast! I wish we could go backwards!"

Well also, my site is built with Gatsby and comes in at I mean never mind that my internal page links load in <50ms thanks to prefetching and all the other smart stuff that Gatsby does.

Prefetching (or not) should be left up to the browser.

Re: 1MB Club

#343

Keep in mind that this might discriminate against CJK pages. While it is trivial to design a beautiful webpage in 1MB for a Western audience including CSS design and western fonts, a single CJK compatible webfont (one style/weight) is 500kB-1MB. My blog is pretty lightweight, but I use Japanese in the about page, and that font on that page blows everything else out on download size. I could subset it just for that li…

> webfont

Don't.

Re: 1MB Club

#344
post #278

Hopefully on-topic: Can anyone recommend a drop-in, minimal stylesheet that will make basic HTML (without classes/ids) format well on both web and mobile? In particular, by default stuff is really small on mobile screens, you have to zoom around. Basically bootstrap, but more lightweight and without the effort of learning all the classnames etc.

> In particular, by default stuff is really small on mobile screens, you have to zoom around.

That's just because mobile browsers are intentionally broken by default. All you need to get them back to sanity is the following element in your :

Re: 1MB Club

#345
post #97
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

I did a quick Google search and discovered that SVG favicons are valid in most browsers, so for fun I reduced it by 95% down to 886 bytes: https://output.jsbin.com/yudonidujo

svgo got it down to 876 bytes without visual difference but svgcleaner couldn't do anything.

http://www.w3.org/2000/svg" viewBox="0 0 48 48">

Re: 1MB Club

#347
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…

Yours is an exception to the rule - in 99% cases for 1MB of JS you get 1 MB of ads/tracking code.

Re: 1MB Club

#348
post #125

Stylistic nitpick: don't use the word cancerous for things that don't make too much of a difference for anything but your "ethos". Real cancer has people die (animals too). Bloated websites might be annoying, but you will survive them even if your the 1337est hacker around.

I can definitely imagine situations where being able to load a page quickly is indeed a matter of life or death. This is indeed part of the design rationale for the min css framework: https://mincss.com/index.html > Min is used by over 65,000 people in 195+ countries, from North Korea to South Sudan to Mongolia to Somalia. Think your software is critical? Try a webapp keeping you alive in a warzone. Now, whether or n…

> I can definitely imagine situations where being able to load a page quickly is indeed a matter of life or death.

Can you share some such situations?

Re: 1MB Club

#349
post #278

Hopefully on-topic: Can anyone recommend a drop-in, minimal stylesheet that will make basic HTML (without classes/ids) format well on both web and mobile? In particular, by default stuff is really small on mobile screens, you have to zoom around. Basically bootstrap, but more lightweight and without the effort of learning all the classnames etc.

I use hugo theme (even) - https://themes.gohugo.io/hugo-theme-even/ which seems pretty decent in terms of performance. There's some heavy loading of fonts and js, but it still comes down below 1Mb.

Maybe you can derive some inspiration from it.

Re: 1MB Club

#350

I love it! I feel like the 1MB limit is excessively generous, especially for text-only pages. But maybe that's what makes it so damning when pages fail to adhere to it. I know at least one website I maintain fails it spectacularly (though in my defense it's entirely because of that website being chock-full of photos, and full-res ones at that; pages without those are well under that 1MB mark), while other sites I've…

500kb is even crazy imho, unless you need to display media formats
Post reply on HN