3 ms·
And there's no comparison of what he was using for NGINX config vs the Caddy config. He simply states that Caddy is easier to use with little acknowledgment of
by snug 10y ago
And there's no comparison of what he was using for NGINX config vs the Caddy config. He simply states that Caddy is easier to use with little acknowledgment of what the config would actually look like.
Googling around for a Caddy file[0], it looks fairly similar, and not so much easier or harder to configure or understand that NGINX config.
[0] https://caddyserver.com/docs/caddyfile https://caddyserver.com/docs/caddyfile
- mholt 10y agoIndeed, in some of my own benchmarks, Caddy performed better than nginx in recent versions of Go. (Using "out of the box" configurations, anyway.) I know tuning is possible, as it is with Caddy depending on your situation. There are so many dimensions to performance of a web server, though, and I don't give much weight to benchmarks. https://gist.github.com/mholt/3f613740ceb417bf63fa https://gist.github.com/mholt/3f613740ceb417bf63fa