Live data from Hacker News

Building an HTML-first site doubled our users overnight

mohkohn.co.uk

121–130 of 605 posts

Re: Building an HTML-first site doubled our users overnight

#122

People who built a crappy website using React are just as likely to build a crappy website using Astro, HTML-first approach or any other technology

I agree. Server-rendered React can also send down 100% HTML apps.

But I 100% see where the author's coming from, considering the massive fragmentation of react codebases/patterns and decision paralysis of React development in general. I really doubt most React apps, even the more accessible ones, are testing their multi-page form wizards with JS completely turned off.

HTML-first does seem highly underutilized in the commercial web, and I learnt a lot from reading this (as a solidJS/react dev).

Re: Building an HTML-first site doubled our users overnight

#124

Most of my apps are now simply HTMX + Go + SQLite. I've found it's enough for most projects. One of my sites is image heavy and serves 10 TB of traffic per month. For this, I use the following setup: 1. S3 (I wanted reliable data storage) 2. In front of it, I have Cloudflare (with Tiered Cache enabled, which makes POPs prefer pulling from Cloudflare rather than the origin). I've set rules to cache everything on both…

Since you're using HTMX, I have to ask: do you have any tips or idioms for composing complex forms and UI without things getting out of hand? I love the approach, but I'm having a bad time figuring out where the ideal balance is between too few or too many HTMX-replaced areas in a page. Thanks.

Re: Building an HTML-first site doubled our users overnight

#125
There is one hard wall that stops very old clients from connecting: Not supporting a new enough version of TLS. TLS 1.2 is from 2008, and TLS 1.3 is from 2018. Web browsers older than 2008 can't connect to modern websites since TLS 1.0 and 1.1 were deprecated from web servers in 2021.

Re: Building an HTML-first site doubled our users overnight

#126

Earlier quoted context omitted.

It's like chai tea.

explain?

"Chai" means "tea", so "Chai Tea" is "Tea Tea".

"ATM" means "Automatic Teller Machine", so "ATM Machine" is "Automatic Teller Machine Machine".

Both are mentioned in the animated movie "Spider-Man: Across the Spider-Verse".

Re: Building an HTML-first site doubled our users overnight

#128
Excellent article but I am always torn when I read inspirational articles like this - it makes perfect sense to me and I love the idea of simple, non-nonsense sites that work well, load quickly and don't rely on the latest browsers to function.

Then I start to wonder if that's just because I'm not smart enough to understand React or whatever the fancy technology of the day is.

Feels like I have a hard understanding threshold that cannot be breached - give me a simple editor like Sublime and ask me to make a web page - even with JavaScript - and it's my happy place. Give me VSCode or Zed, Claude/Copilot/ChatGPT plugins everywhere, React tutorials and my brain goes to mush.

Re: Building an HTML-first site doubled our users overnight

#129

Most of my apps are now simply HTMX + Go + SQLite. I've found it's enough for most projects. One of my sites is image heavy and serves 10 TB of traffic per month. For this, I use the following setup: 1. S3 (I wanted reliable data storage) 2. In front of it, I have Cloudflare (with Tiered Cache enabled, which makes POPs prefer pulling from Cloudflare rather than the origin). I've set rules to cache everything on both…

> Cloudflare will not let you run an image heavy site on its own, so I use this approach to massively cut the bills. Their policy says you cannot use it primarily for images; it must be used for HTML, CSS, JavaScript, and other site content.

Pages has a 20k-100k limit on static files, but if they just guide you to R2 to offload it, which is still Cloudflare.

Did you mean the CDN? In which case, I'm not seeing that in the terms. [0] Though, I would have expected they'd have a similar thing. R2 resources don't generally count towards your cache limits.

[0] https://www.cloudflare.com/service-specific-terms-applicatio...

Re: Building an HTML-first site doubled our users overnight

#130
post #126

Earlier quoted context omitted.

explain?

"Chai" means "tea", so "Chai Tea" is "Tea Tea". "ATM" means "Automatic Teller Machine", so "ATM Machine" is "Automatic Teller Machine Machine". Both are mentioned in the animated movie "Spider-Man: Across the Spider-Verse".

PIN number
Post reply on HN