10 KB Club: Curated list of websites whose home pages do not exceed 10 KB size
10kbclub.com
10kbclub.com
And some of these pages fail that test badly. For example, sdf.org takes a whopping 1.60 seconds for the home page GET request to return a single byte.
I'd like to see a new leaderboard of 'instant' pages. An instant page is one where a typical user click has the result fully rendered inside 100 milliseconds (almost imperceptible latency).
That's an incredibly hard to reach target. Establishing a secure connection from the browser to a server requires several round trips - 1 for DNS lookup, 1 for TCP handshake, 2 to establish the TLS connection, and 1 for the HTTP request. If you divide your 100ms perf budget equally between them that means your servers can be no more than 1800 miles away from the user using (100ms c) / 2 (for the round trip) / 5 requests*. Using TLS 1.3 removes one round trip which is definitely a good optimization. That's before you've even started any serverside rendering, session handling, db connections, etc.
Even with a really good edge network that's going to be incredibly hard to achieve.
I'd love it if every website served a page in 100ms, but it's never going to happen. I got https://ooer.com down to below 500ms for myself (495ms last time I checked) after a fair bit of effect. Getting any lower would be a waste of time. Users can wait an extra 400ms.
Depending on the application, many clicks might be from page to page in the web-app. And it's very possible for the majority of clicks to involve no server roundtrip at all.
you should care about both, not everyone has unlimited data capacity.
Small sizes at extreme cost to UX is not worth it.
Can you point to a specific problem?
Not wishing to disagree with the rest of your comment, but I expect many company logos can fit within the limit and look good when represented in compressed SVG (.svgz). Those can also be inlined on a home page to reduce initial view latency.
Were you unable to find the information you wanted?
Was the site confusing?
Or it was just aesthetically unpleasant?
It's not just a matter of aesthetic, it's a matter of visual parsing.
<meta name="viewport" content="width=device-width, initial-scale=1">
Before and after: https://files.catbox.moe/yfylg0.jpgIn the pic the text is slightly cut off, looks like i zoomed a few pixels by accident. Still, a touch of padding would improve it imo :)
It's great we now have an elite (10kb club) of the elite (100+ points on a link curator). I don't think this is particularly useful for discovery.
My new club, the 5kb club, requires at least 200 internet points, to be a member of the 10kb club, have met with the Queen before she passed and be under 5kb.
Still, those 6kB of text turn into 44kB of HTML with the markup, I should probably do something about that.
It looks like GitHub includes normalize.css, which is 12kB all by itself. Damn it.
Next I looked at the css framework I built and use for all my sites. I know it's only about 2.5k, but I have a screenshot. 114kB transferred. Damn it.
I'm not in this club even though I try to be tiny.
What?
> I know it's only about 2.5k, but I have a screenshot. 114kB transferred.
What?
I publish only markdown files to GitHub starting with index.md. Behind the scenes GitHub does some Jekyll stuff that I don’t think much about. Whatever they use as a default theme includes a normalize.css file.
On the second point, I maintain a little css project I use for a lot of my other projects. It’s called Neat and it’s at https://neat.joeldare.com. It is only 2.5k of css, if you download and use it, but I have a screenshot in the demo page, which balloons it.
PS I am biased because mine is on there.
I just measured my landing page which looks like every other SaaS landing page out there and it's 12KB of HTML/CSS and 202KB of illustrations and fonts (4*35KB illustrations, 2*25KB fonts).
That's reasonable. I don't care whether a website is 10kb or 200kb, I mind if it's 20mb of things which aren't even necessary.
Actually Hacker News is quick as well.
---
Also, hot take: users care way less about performance than you think. They want "fast enough", but we're over-indexing on "as fast as possible" instead of caring about other things that matter more to users.
Source: https://mobile.twitter.com/DavidKPiano/status/15787403709971...
Show me a slow site and most of the time it's still the server holding it back on old hardware.
I was with you but mostly it really isn't hardware.
Mostly it's missing database indexes, n queries instead of a join, and sometimes just one small piece of code that's doing something very inefficiently on every request.
Also: for regular sites, html/css/js optimization is less important than server location. If your server is in Europe and your user is in the US, that's the big one, not your HTML, CSS or JS.
And if you're fetishizing over Lighthouse scores, stop. It's only a very rough measure and shouldn't be treated as a goal itself.
EDIT max ping of each of our recurring American users on websockets, about a thousand of them. No difference in usage pattern there between Europe and US, but sure we do not have many that have worse ping.
Lighthouse is a synthetic testing tool. It can be incredibly useful when you connect it to your CI build process and track scores over time – revealing how code changes affect (some) front-end performance metrics.[0] Of course, some scores are non-deterministic so you'll need to run it multiple times.[1] And you should be tracking real user data as well to validate it.
Using PageSpeed Insights to benchmark a site is akin to loading your website a single time on a single device and saying "wow, my site is slow"
Using Lighthouse in your browser to benchmark a site is akin to wasting your time.
[0] https://github.com/GoogleChrome/lighthouse-ci
[1] https://developers.google.com/web/tools/lighthouse/variabili...
Solid research on this exists, so there is not much to deny, at least when your goal is selling to the average user.
But: where is this magical place where people put heavy emphasis on performance? It certainly isn't here, and I would like to visit it for once. Companies caring, or giving their programmer the time to care, about performance are absolutely a rare sight. Unless they work in areas in which they are forced to care about it, and even then many stick to the minimum.
Snappy, low latency software is such a delight to encounter because it is just so damn rare. Especially on the web, I constantly feel like I'm wading through molasses, and the only reason I am able to endure this constant, agonizing pain is that I've gotten so used to it...
You need to try hard to build a slow desktop app (using native libraries). There're some simple rules to follow if you want a snappy desktop app (like running heavy or I/O tasks in a separate thread). If your app is huge (like MS word), it might be slow, but that's another level of the problem.
There're no simple rules if you want to build a snappy web app. You need to think about performance on all levels. You need to think about TLS handshake. Does your certificate fits into first TCP packet? Does your entire conversation fits into first ten TCP packets? That's hard stuff. Is your CSS layout fast enough? Did you think about every resource your website uses?
That's just an observation. I don't know what to do. I don't even know how would I make it better. Web stack is mostly reasonable. Sometimes web stack goes to great lengths in pursue of performance, like replacing TCP with QUIC. That's huge technical accomplishment. WebAssembly is pretty fast for a sandboxed VM. JS is crazy fast for a dynamic language. Yet some startup webapp will make 60 HTTP queries on its first page and that's considered a norm.
Absolutely, still there is "normal web latency" slow, "regular website" slow and then there is "reddit redesign" (and other popular sites) slow. Taking the latter as an example, it is easy to check how much faster it could be by using old.reddit.com instead.
For that type of slowness I have very little understanding, it's just a regression.
But if you are implying that the web today is fast enough that for sure is a hot take. Our industry most certainly don't care the slightest about performance nor user experience.
Popups alone are proof of that.
Somewhat counter-intuitively to some: this way if thinking can actually make things needlessly less responsive for the individual users because of the "over-architecting" it can cause.
this is something we should reward, less chrome, more ideas and expression (unless said chrome is also partly that)
- 512kb.club
- 250kb.club
- 10kbclub.com
- 1kb.club
- no-js.club
- js1k.com
- js1024.fun
- nocss.club
5. ... some content from the website must have received at least 100 points on Reddit or Hacker News on at least one occasion ...Agreed: my home page is clocking in at around 2Kb or less but probably not of any interest to anyone outside of my very narrow silo.