Readit News logoReadit News
yellowapple · 5 years ago
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 built consist entirely of pages within a fraction of that limit.

It'd be interesting to impose a stricter limitation to the 1MB Club: one where all pages on a given site are within that limit. This would disqualify Craigslist, for example (the listing search pages blow that limit out of the water, and the listings themselves sometimes do, too).

I also wonder how many sites 1mb.club would have to show on one page before it, too, ends up disqualifying itself. Might be worthwhile to start thinking about site categories sooner rather than later if everyone and their mothers starts spamming that GitHub issues page with sites (like I'm doing right now).

highmastdon · 5 years ago
Don’t forget that also 1MB of JavaScript is much much more heavy on the client than 1MB image
Lerc · 5 years ago
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 but for user-experience-per-byte you're always going to be streets ahead of a gif.

charlesdaniels · 5 years ago
At the risk of over-complicating things, perhaps there could be limits per resource type. 10Mb of images might be reasonable (e.g. for a photojournal), but only 128KB of JS, and 128KB for everything else. Something along those lines.
z3t4 · 5 years ago
Check out this app: https://webide.se/?disable=fonts,discoveryBar

It's over one hundred thousand lines of JavaScript code minified and Gziped into a 300KB bundle which should fully load in about 300ms on a decent computer.

CarelessExpert · 5 years ago
> I feel like the 1MB limit is excessively generous, especially for text-only pages.

No kidding. I just checked and the average text-only page on my blog well under 100kb. Even the image-heavy front page is under 1MB...

corobo · 5 years ago
I was pleasantly surprised to find the same!

Even the page where I used images came in at juuuust about the limit -- to the point where you'd have to make a ruling of whether the rest of the page gzipped counted because over the wire was technically <1MB but it was just above after decompress. The site does specifically say "downloaded", haha

masswerk · 5 years ago
Personally, I stuck to the 40K best practice recommendation for the basic web page as a target, which was in place when I started. Modified to up to 140K including webfonts. Notably, this is without images.

(This is a flexible target, depending on the complexity of a page. E.g. for a "bloated" page, a fully styled video display for competition winners showing 200+ entries and 280+ individual videos in categorized views is about 250K, including a few images, two and a half font families and the Vimeo Player SDK, but excluding the load of any external video streams. However, with compression we still manage the 140K mark.)

Then reality hits: Client insists on a full-width photographic hero image as it's still 2014. Usual controversies about a full-size intro video (autoplay, of course), we must have this highly intrusive chat asset installed, etc, etc… – And we easily blow the 1MB limit.

josmala · 5 years ago
Something about all pages being under limit the limit instead of every page being under the limit changes the exact meaning to something that I cannot agree with. Which was the meaning I replied below and then wrote this after realizing you might of meant every when you wrote all.

Lets say you write a daily blog. A single A4 of text contains on average 3000 characters, your posts average slightly above that by being 4000 characters. How long until the text content alone is above the 1MB limit.

https://dictionary.cambridge.org/grammar/british-grammar/all...

Retric · 5 years ago
I doubt you can find a single text blog on a specific topic that wouldn’t be improved by limiting it’s total text to 1MB.

Being more verbose is generally just poor writing. Now, using a separate website per topic seems like a silly limitation, but the more topics being discussed the less relevant the discussion.

yellowapple · 5 years ago
Yeah, I did mean "every" rather than "all", as you put it. Though both would be interesting.
thdrdt · 5 years ago
I think an onload limit is much more useful than file size.

A 700kB JavaScript page can take up to 10 sec. to render on older mobile devices. And a 500kB image can contain megapixels which will slow down non-PGU browsers.

Personally I always go for a max 2 sec. limit on all devices.

divbzero · 5 years ago
Agreed. 1MB seems more reasonable as a per-site threshold. Or, alternatively, somewhere between 10kB and 100kB as a per-page threshold.

For context, 1MB is the same order of magnitude as the original Doom which was about 2.4MB in size. [1]

[1]: https://www.wired.com/2016/04/average-webpage-now-size-origi...

Chris2048 · 5 years ago
I think it should be relative to content. As in versus actual text on the screen. This metric can also be applied "per-page" and "per-site", with less ambiguity for SPAs; every new load brings in more bytes, but also more text, thereby contributing to the ratio.

Even better - fixed site-wide assets (i.e css, js) to features; hence loading an entire framework only to use a small % of it's features is penalised.

meerita · 5 years ago
500kb is even crazy imho, unless you need to display media formats
meshaneian · 5 years ago
Next level: The 1MB Quine Club.
mixcocam · 5 years ago
Tiddlywiki
ngcc_hk · 5 years ago
Do they check the 1 MB limit?
zer0tonin · 5 years ago
Looks like they do yes.
aresant · 5 years ago
From a "Why, who cares" perspective website (and app) speed are highly correlated with conversion and engagement.

Google's headline research on the subject says "Improving your load time by 0.1s can boost conversion rates by 8%."

Some add'l data, sourced by Neilsen Group below:

- Google found that increasing the load time of its SERPs by half a second resulted in a 20% higher bounce rate.

- Google found 53% of mobile visits ended if a page took longer than 3 seconds to load.

- Akamai aggregated data from 17 retailers (7 billion pageviews) and found that conversion rates were highest for pages that loaded in less than 2 seconds; longer load times correlated with 50% drops in conversion rates and increased bounce rates, especially for mobile visitors.

- BBC found that for every extra second of page load time, 10% of users will leave.

Want to sell / fix this?

Here's the best three simple resource illustrating objective third party results from increasing site speed:

- https://blog.hubspot.com/marketing/page-load-time-conversion...

- https://wpostats.com/

- https://www.cloudflare.com/learning/performance/more/website...

Here is a more compelling deeper look from a leader in the UX space:

- https://www.nngroup.com/articles/the-need-for-speed/

Here's a really well written article about how to PROVE to the powers that be that site speed is worth testing:

https://web.dev/site-speed-and-business-metrics/

chrisin2d · 5 years ago
I used to work for a major e-commerce company and will back this up. The importance of performance, of course, depends on the use case.

In e-commerce, the biggest factors (that come to mind) to compete on are—SEO and brand aside—price, offerings, and convenience. Convenience has two dimensions: UX and performance.

If a user has a very clear idea of what they want from your site, they'll probably be patient. If a user is channel surfing (and the vast majority are when it comes to shopping, comparing options, etc.), then every millisecond matters. Every millisecond spent loading is a millisecond not spent selling/convincing.

LeifCarrotson · 5 years ago
I totally believe that the vast majority of page views are from channel surfing (or bots), but have a hard time believing that has any correlation to actual purchases.

If I'm spending an hour's pay on something I really want, of course I'll wait 10 seconds for the page to load, or if I can't get it to load at all, I'll make a note to try again later from different browser or internet connection. I'll manually enter my address details if they didn't auto-fill properly. I'll respond to emails on what I want to declare for customs, and various other efforts.

I, and people I know, feel like we buy very little on a whim. Is that unique? Are there whales who buy everything you can put in front of their face, or a different demographic who searches for something to buy and then changes their mind in precisely 850 milliseconds?

I would accept that like candy in the checkout lane, the profit is small but worth more than the extra effort it takes to put the offering there, but the revenue is small compared to the actual stuff people need to buy, but the analytics that suggest that hundreds of people click a link to your page but most close it faster than you can read the headline just seem unbelievable.

myself248 · 5 years ago
So what you're saying is, the fact that I feel icky and decide against spending any money on HomeDepot.com lately, is hardly a surprise.
mobjack · 5 years ago
Those studies all come from companies trying to sell you something.

They seemed to come from when mobile phones were much slower when there was a valid use for AMP pages. A/B test data is very easy to cherry pick from and you can see a 10% increase in conversation based on random chance. I can see my marketing team misinterpret data like that and use it for promotion. I am skeptical.

I improved the initial loading speed of a website so it was 30% faster on an old mobile phone and it made no difference in conversation based on the analytics.

Most people used faster phones with faster internet that it really didn't matter. After the first page load, most of the bloated assets were cached so even those with slow connections were relatively fast navigating further.

There could be some types of websites where speed matters more like if you promoted click bait articles with high bounce rates. But if you have high quality content, it isn't going to be that important unless you have really terrible bloat.

marcinzm · 5 years ago
Some of these, not all, don't even seem to be A/B tests, just correlation being explained as causality.
ChuckMcM · 5 years ago
If nobody cares, why did Google invest so much in amp ?
pletnes · 5 years ago
To take control of other people’s content and, by extension, revenue streams? Performance was a selling point to the web dev - me, as a user of the web, was never even asked my opinion, and I can’t (easily) disable amp.
brudgers · 5 years ago
Alphabet cared. It cared about what corporations can care about, making money. It invested so much because there was a good return on investment and there was a lot of cash on hand wanting for investment and Amp was big enough to make use of enough cash in hand to be worth pursuing. With billions of cash on hand fixed overhead makes small investment not worth the bother. For Alphabet, a hundred million dollars is less than rounding error.
marcinzm · 5 years ago
To compete with Facebook in centrally controlling the internet and the revenue that flows through it. It's their Plan B after their Plan A, Google+, failed.

Dead Comment

soheil · 5 years ago
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

KMnO4 · 5 years ago
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

nekopa · 5 years ago
And it looks much nicer zoomed in (as in your link) ;)
zimpenfish · 5 years ago
svgo got it down to 876 bytes without visual difference but svgcleaner couldn't do anything.

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="#662113" d="M27.3 5.7c4.9-3.1 11-3.9 16.8-4.1A162 162 0 0031 10l-3.7-4.5zm4.1 5.6c4.8-3.6 10.1-6.5 15.3-9.6a18 18 0 01-4.3 12.7l-11-3z"/><path fill="#c1694f" d="M44 1.6l3.3-.3-.6.4c-5.2 3.1-10.5 6-15.3 9.6 3.7 1.2 7.3 2.2 11 3l-6 6.2c-3.6-.8-7.4-2.8-11-2.4a70.5 70.5 0 00-17 18.3c2.7.2 5.5.4 8.2.4h.5c-3.3.2-6.6.4-9.9.9 3.6.6 7.2.5 10.8 1-3.7 2.2-8.2 1.7-12.4 1.7-1.6 2.4-2.7 5.3-5 7.1.7-2.8 2.6-5.2 3.8-7.8.1-2-.4-4.1-.5-6.2L6.7 36l.3-.3c5.2-7 10.7-13.7 17-19.7l-1.6-7.7L27 5.4l.3.2 3.6 4.5c4.3-3 8.7-5.9 13.2-8.5z"/><path fill="#d99e82" d="M8 21.2C11.6 16 17 12 22.3 8.3L24 16A178 178 0 007 35.7c-1-4.8-1.3-10 1-14.5zm.5 15.2c4.6-6.8 10-13.4 16.8-18.3 3.7-.4 7.5 1.6 11.1 2.4L33 24.1c-2.5-.2-4.9-.4-7.4-.4l5.4 2.4-3.2 3.5c-3.7-.3-7.4-1-11.2-1l9.7 3a10.7 10.7 0 01-9.5 5.2c-2.7 0-5.4-.2-8.2-.4z"/></svg>

e12e · 5 years ago
Nicely done. Manual or automatic conversion?
tsjq · 5 years ago
excellent. have you shared this with the website person and asked them to use this ?
italiancheese · 5 years ago
I recently noticed something similar, while optimising my e-commerce website.

I went with:

  <link rel="icon" href="data:;base64,AAABAAEAEBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAgAAAAA
  AAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA">
Renders a black square, everywhere except Safari. The black square actually goes with the brand.

GoblinSlayer · 5 years ago
Doesn't it support RLE compression?
shepherdjerred · 5 years ago
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.

bombela · 5 years ago
But when you start this way, you quickly endup with the bloat that is modern software. Because each extra bit of waste seems justified at every steps along the way.
addedlovely · 5 years ago
May seem pedantic but those little gains do add up. A missing favicon also has a surprising impact.
cozzyd · 5 years ago
Spoken like somebody who's never been to Antarctica. Or on a slow train WiFi for that matter...
crazygringo · 5 years ago
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.

Aeolun · 5 years ago
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.

_cairn · 5 years ago
I think the reason why blog posts are written in this hyperbolic format is because it catches people’s attention, or “click bait”, if you will. If it were toned down in the way you suggested (which I agree with in principle), it might lose more readers before they get to the substance. Just hypothesizing here btw.
SulfurHexaFluri · 5 years ago
Yes news sites are the worst of the bunch but then we get people complaining about full web apps using JS when there is no real alternative.
hbrundage · 5 years ago
That’s just it — no benefit to you, but a lot of benefit to them. They need analytics to sustain their business. They need ads to sustain their business. They (maybe) need fancy interactions to differentiate and thereby sustain their business. If you expect everyone else to only do things that benefit you instead of mediating between benefiting you and benefiting themselves, you’re gonna be pretty disappointed.
notJim · 5 years ago
1) Many websites are not news sites. In fact, I'd guess the vast majority. So this point doesn't feel relevant.

2) Sometimes things might be useful to people other than you. The world doesn't exist to cater to your needs, and referring to things that aren't exactly what you want as cancerous is childish.

GoblinSlayer · 5 years ago
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.
fizwhiz · 5 years ago
hyperbole much?
keb_ · 5 years ago
As much as it "feels" immature, it is still an understandable analogy, regardless if you're a fanatic. As other users pointed out, it has become a norm for software/webdev houses to convert what is mostly static content into weird, flashy, bloated SPAs that load a ridiculous about of resources for little content. I see it in my peers too, and I saw it even when I was attending college. Frankly, I think it's immature to pretend this is not a problem as some seem to suggest.
sneak · 5 years ago
Most webpages that load megabytes of bullshit today would be much better for everyone, developers, operators, hosting, and end users, if they just didn’t do that.
ksk · 5 years ago
Sure there is a place for nuance, but there is also a place for bold writing without all the pussyfooting. Exclusively using either style makes it boring for the reader. We need the sweet with the sour ;)

>You can celebrate something you like without having to make the alternative a disease, sheesh.

You can, but would you be equally successful at it?

susam · 5 years ago
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
Shameless plug: I maintain a lightweight home page myself at https://susam.in/ and I try to keep it as lean as possible without compromising on some custom formatting I care about. So far I have got the transfer size down to less than 6 kB.

e12e · 5 years ago
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).

opan · 5 years ago
There's a way to force reader mode. Add "about:reader?url=" before your URL.
divbzero · 5 years ago
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

divbzero · 5 years ago
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

collinmanderson · 5 years ago
> Initial congestion window: 10 segments (10 x 1460 bytes ~= 14kb)

Yes, my goal (very hard to do sometimes) is to fit all of HTML + Push CSS within 14kb

ffpip · 5 years ago
Are you not using an ad blocker? danluu.com has google-analytics, which is a very large script.

Please use uBlock Origin.

RussianCow · 5 years ago
I don't think an ad blocker should be assumed when calculating the size of a web page.
susam · 5 years ago
I do use uBlock Origin in general. However, I disabled it while verifying if the download size claimed in this post is accurate.
Bud · 5 years ago
Ad blockers already don't work. They're largely useless. If you use one these days, you already know why.
keyle · 5 years ago
5c hint: a little bit of padding and max-width on your content would make it far more readable!
mattbk1 · 5 years ago
Your page looks very nice, I almost want to duplicate my own website into a format that's just a list of links and titles.
syassami · 5 years ago
My personal fav: 148kb, $530B company. https://www.berkshirehathaway.com
jyriand · 5 years ago
Just for your information, from their legal page: "...linking to this website without written permission is prohibited." Not sure what is meant by this, but I found it funny.
libria · 5 years ago
That same sentence starts (paraphrasing) "[Copying or giving out of any stuff gotten on this domain ... is banned]" so merely quoting the legal terms is also "illegal".
vulcan01 · 5 years ago
IANAL

What I think they mean by this is that you shouldn't link to resources on their website to make it seem like they endorse your (product, website, whatever).

bbarnett · 5 years ago
Imagine if we all wrote?
criddell · 5 years ago
I assume you went through the proper channels to get written permission to make that link.

From the legal disclaimer at the bottom:

> linking to this website without written permission is prohibited

wackro · 5 years ago
How enforceable is this? And what's the likelihood anyone would try to enforce it?
tenebrisalietum · 5 years ago
Want to tell them you like it? Better buy a stamp.

"If you have any comments about our WEB page, you can write us at the address shown above. However, due to the limited number of personnel in our corporate office, we are unable to provide a direct response."

I see they have a link to "Berkshire Activewear". Now that's a much much more heavyweight page.

bak3y · 5 years ago
Copyright © 1978-2020 Berkshire Hathaway Inc.

Can it be assumed that this same website has been in place since 1978? Obviously not exactly like it is now, but probably not far off.

zerocrates · 5 years ago
HTML being from the early 90s or so, I wanna say "no."

I wonder what the logic for the 1978 date is. It's hard for me to believe they had any reasonably connected predecessor of this in 1978.

vitus · 5 years ago
I'd assume not, given that Tim Berners-Lee hadn't invented HTTP yet.

But, the website looks rather similar to how it did back in 2001 (with the recognizable two-column list of bullet points):

https://web.archive.org/web/20011129002047/https://www.berks...

nekopa · 5 years ago
And it has an ad on it. (Boy do I miss the days of Google's text only ads)
conductr · 5 years ago
Seems impressive but considering most holding companies have no website maybe it’s bloated

Deleted Comment

Deleted Comment

Deleted Comment

m463 · 5 years ago
and it has an ad for geico
anamexis · 5 years ago
Including an ad, no less.
frogpelt · 5 years ago
That's not completely fair since they are an investment holding company.

How about you average their subsidiary web pages? Start with DQ.com (Dairy Queen)

imheretolearn · 5 years ago
I was once asked to debug an extremely slowly loading page. In the first 5 minutes it was evident that the client was doing things it wasn't supposed to do. It was downloading 300MB worth of resources to show the webpage. Incorrect implementations and inefficient use of libraries is the reason why we're seeing a bloated websites all over the web
vagrantJin · 5 years ago
> It was downloading 300MB worth of resources to show the webpage. Incorrect implementations and inefficient use of libraries is the reason why we're seeing a bloated websites all over the web

In situations like that, it's right and proper to ask who built the site. Then shake your head with absolute contempt.

strken · 5 years ago
I've had to fix web apps like that, and no, that's not always right and proper. One example I can give is a tool which loaded 50MB of deeply nested JSON, because when it was written 5 years ago, the payload per item was 80% smaller and the company had 0.1% the number of items.

The correct response is to work out who was responsible for maintaining the site for the past five years.

grecy · 5 years ago
and follow them around from job to job, giving yourself endless contacting work cleaning up their messes!
seanwilson · 5 years ago
Here's my example of a non-trivial product landing page weighing in at 0.3MB transferred:

https://www.checkbot.io/

Includes analytics, chat client, big product screenshot, theming and payment integration, so you can still do a lot well within 1MB.

imperialdrive · 5 years ago
KUDOS - That's pretty darn impressive alright.
sr1 · 5 years ago
0.006MB on brave :)
keb_ · 5 years ago
Thanks for the example. Looks awesome! Great work.
mcdevilkiller · 5 years ago
It's really really good, congrats!