endtimes.dev
endtimes.dev · Personal blog · on HN since 2021
A web developer writes about lightweight, efficient websites, covering page size, data use, accessibility without JavaScript, and low-impact design choices.
What HN saysHN commenters mostly link its article on keeping pages under 14kb as the reference for fast loading within the first few TCP round trips.
22HN people shared it
10linked it in comments
15stories submitted
1.9Kstory points
3 months agolast shared
2021people per year2026
Most-shared posts
- 1A 14kb page can load much faster than a 15kb page10 people · 1.5K points · first shared 2022 · 343 comments on HN
- 2Lowercase letters save data5 people · 226 points · first shared 2023 · 148 comments on HN
- 3Your website should work without JavaScript (2021)3 people · 134 points · first shared 2022 · 149 comments on HN
- 4Dithered images and websites (2020)2 people · 110 points · first shared 2021 · 118 comments on HN
- 5Actually, dark mode can save the planet2 people · 3 points · first shared 2023 · discussion on HN
- 6You can use Emojis as Favicons1 people · 2 points · first shared 2024 · 1 comments on HN
- 7Homepage1 people · first shared 2022
- 8Html and css only multiple color scheme picker1 people · first shared 2022
What HN people wrote when they linked it
NelsonMinar · 2024-10-07
See also the 14KB website article: https://endtimes.dev/why-your-website-should-be-under-14kb-in-size/
Optimizing per-packet really improves things but has gotten very difficult with SSL and now QUIC. I'm not sure Google ever got the front page down to a single packet (would love a reference!) but it definitely paid very close attention to every byte and details of TCP performance.
kixiQu · 2022-05-09
I use a "textured" font on my website (https://fonts.google.com/specimen/IM+Fell+English, see https://maya.land) and it bothers me all the time that the deformations repeat across letters -- like cracked stone ones where the cracks are the same on every "a"? Because I think mine's simple enough, eventually I'm going to figure out how to get a similar effect with an SVG filter like the "xerox" one on https://endtimes.dev/.
lkbm · 2026-08-04
I switched my small personal projects to preact in a (temporarily successful effort) to get one under 14kb after re-reading [0] a year or two back. So far haven't run into any limitations.
If you need React, then go ahead and use React, but I'd encourage people to try a simple s/react/preact/g on their websites. (Okay, not quite as simple as that, but even if you don't like vibe coding, this is something an LLM can be trusted with.)
[0] https://endtimes.dev/why-your-website-should-be-under-14kb-in-size/
Erenay09 · 2026-07-20
if a website's bundle is <14kb, it will load instantly.
https://endtimes.dev/why-your-website-should-be-under-14kb-in-size/
diceduckmonk · 2024-08-16
Another reason to golf. It's not quite right, but it's a fun goal to fit an app within the first few TCP roundtrips.
https://endtimes.dev/why-your-website-should-be-under-14kb-in-size/
jacknews · 2022-11-21
10K seems arbitrary, why not 14K as discussed here: https://endtimes.dev/why-your-website-should-be-under-14kb-in-size/
DitheringIdiot · 2022-10-12
I’ve written a tutorial on building one of these that uses a checkbox.
There’s more ways than a button or a link. Some people have suggested in the comments using details and summary.
It works without javascript, represents the states open and closed without requiring any aria attributes and some other usability features people might find interesting.
https://endtimes.dev/html-and-css-only-multiple-color-scheme-picker/
zinekeller · 2021-11-15
The article is a rebuttal to this article (https://endtimes.dev/why-you-should-dither-images/), which in fact used photographic images, so definitely not a straw-man article in this case.
Mpqzcp nzxxpyetyr htes pxzetzylwwj-nslcrpo nzxxpyed, dpp tq jzfc nzxxpye xlvpd dpydp ty esp nzyepie zq esp lcetnwp lyo yze ufde esp etewp. Nzxxpyetyr hteszfe vyzhtyr esp nzyepie xlvpd jzf wzzv (opdpcgtyrwj) defato.
lxgr · 2025-04-16
> You don't need this code!
> By default, all browsers look for a file /favicon.ico in a site's root directory.
That must be a drop in the ocean compared to all the requests for non-existent favicons thanks to this behavior... (Which can be prevented via [2], apparently!)
> 180x180 is the largest icon size any iOS device requires. Other devices will downscale the image to fit.
Using more data (which uses both energy and is often still paid!) and some compute resources to downscale, which wears out the battery of mobile devices, requiring a swap or incentivizing people to upgrade sooner than they otherwise would. Better reason about the externalities thoroughly when throwing out vague statements like "more environmentally friendly websites"!
By the same author: "why lowercase letters save data" [1], "Show you how I came to the conclusion that title case on hacker news emits the equivalent yearly carbon as a car driving the width of Sri Lanka." – featuring sub-headlines rendered using some squiggly font effect powered by an SVG filter that probably uses enough collective renderer CPU/GPU cycles to drive the same car to the moon and back.
I get and applaud the desire to make the world a better place. But something that people seem to overlook too often with short-sighted initiatives such as this is that one of the most finite resources is human attention. Making somebody feel good about having spent time and effort to implement symbolic/effectively useless measures means…