by stop50 on 3/29/2024, 5:27:39 PM
I don't. I serve static files directly from the nginx.
by nijave on 3/29/2024, 5:27:51 PM
I'd think given enough memory, your files will cache in memory pretty quickly with any server. I usually just use nginx for these use cases or look to a CDN solution.
by brettv2 on 3/29/2024, 7:16:14 PM
why wouldn't you just serve them via a CDN?
by corytheboyd on 3/29/2024, 8:46:28 PM
+1 for copy files to container, serve with nginx
by joshxyz on 3/30/2024, 11:13:29 AM
caddy can serve it, with free tls
if js project i sometimes use npx serve too
I usually use thttpd in an alpine container. I think I remember seeing a similar server that read files at startup to load them in memory and pre-compress them while running in a from-scratch container, but I can't seem to find it on the internet. What do you guys use ?