3 ms·
> 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"
by zeepzeep 5y ago
> 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.