Simon Willison: TILs on caddy

caddy Pausing traffic and retrying in Caddy - 2021-11-24

A pattern I really like for zero-downtime deploys is the ability to "pause" HTTP traffic at the load balancer, such that incoming requests from browsers appear to take a few extra seconds to return, but under the hood they've actually been held in a queue while a backend server is swapped out or upgraded in some way. …