Just improved Caddy performance by fixing header casing on the hot path! 🚀 When...

@dunglas@mastodon.social

Just improved Caddy performance by fixing header casing on the hot path! 🚀

When using Go's net/http, make sure to use canonical HTTP header casing (e.g. Content-Type instead of content-type). Non-canonical keys trigger string formatting and allocations on every lookup.

github.com/caddyserver/caddy/p