Live data from Hacker News

Building an HTML-first site doubled our users overnight

mohkohn.co.uk

71–80 of 605 posts

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

#72

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…

Go is so awesome for server apps. I should have discovered it much sooner. It somehow sits in the exact optimal point having no bullshit overhead like C, yet also getting out of your way so you can focus on the business logic like Java (not Rust).

It's not great for every task - in particular the lack of abstraction-building capabilities - but it's great for business-logic-heavy server apps. It feels like it's specialized for that and not trying to be a jack of all trades.

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

#73
post #4

Earlier quoted context omitted.

The full context of that quote makes it clear that it's meant more as a wry joke: > A venerable web application pattern that has had a small modern renaissance thanks to Remix, form submissions and redirects took a while to explain to my colleagues, on account of everyone being used to heavily client-side web applications. (Although it's not really a joke, it's pretty amazing how many professional web developers thes…

The opposite is why I'd never be a good web developer. I grew up messing around with PHP and if I spent the time to learn the modern stack, I'd constantly be thinking it's stupid.

I can relate to that.

I recently had to intervene during the latest office holy war to explain that you don't need JS for file uploads.

It was eye opening.

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

#75
> Javascript and modern CSS should be used to enhance the experience

When messing around with my blog's Javascript, this mantra is so thoroughly embedded into writing it, that I try to include "enhance" in function names where it makes sense. I might have to do likewise with my CSS.

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

#77
post #23
post #16

Earlier quoted context omitted.

No we don't. There are lots of countries with software outsourcing industries, and contractors in any country can be good or bad. Would you rather have a top IIT graduate, or someone who took a year of programming classes at a community college in Fresno?

Considering the rampant fraud in a certain country's university system, give me local CC graduates.

As opposed to the US, where nobody ever cheats in school?

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

#78
post #40

Having been building websites since the mid 90's, I laugh at terms like "HTML-first website"

Same, and it has certainly made me realize that I am now officially entering my "old man yelling at cloud" phase of my life, and I'm "only" 38!

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

#80
Don't tell me were going to rediscover progressive enhancement all over again after more than a decade. Back when we used to actually care about the end user whether you were programming frontend or backend.

Too much VC money and big tech influence in the JS ecosystem made the web worse in some ways.

Post reply on HN