News for hackers. Stuff that matters.
Re:Don't build a general-purpose API to power your own front... by zeepzeep on Tuesday September 14, 2021 @03:11AM (#28521327)
> I embed all the html/css/js/images files into a binary and serve everything from memory. Zero disc reads. It's blazing fast.

I do that too. A friend "stole" that idea from the tour of go, I really like it. Just go generate before building to make add static files, go build, done. 1 binary, it just works.

There are no comments on this comment yet.