Caddy not using http3

Use of HTTP/3 by browsers isn’t a guarantee. They first try connecting over TCP, and if that was fast enough, there’s no reason to try connecting over UDP.

You’d have to try using a client that only tries connecting with HTTP/3 to check. You can do that with a build of curl that includes --http3 support, but that might not be included in the build you have on your system.

You can use a docker image including curl with HTTP/3 to make a test request. Try this, with your domain instead:

$ docker run -it --rm ymuski/curl-http3 curl -vs -D/dev/stdout -o/dev/null --http3 https://caddyserver.com
*   Trying 165.227.20.207:443...
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: none
*  subjectAltName: host "caddyserver.com" matched cert's "caddyserver.com"
* Connected to caddyserver.com (165.227.20.207) port 443 (#0)
* using HTTP/3
* h2h3 [:method: GET]
* h2h3 [:path: /]
* h2h3 [:scheme: https]
* h2h3 [:authority: caddyserver.com]
* h2h3 [user-agent: curl/7.88.1-DEV]
* h2h3 [accept: */*]
* Using HTTP/3 Stream ID: 0 (easy handle 0x5600c27ad920)
> GET / HTTP/3
> Host: caddyserver.com
> user-agent: curl/7.88.1-DEV
> accept: */*
> 
< HTTP/3 200 
HTTP/3 200 
< content-type: text/html; charset=utf-8
content-type: text/html; charset=utf-8
< content-length: 39108
content-length: 39108
< server: Caddy
server: Caddy

< 
{ [5281 bytes data]
* Connection #0 to host caddyserver.com left intact