The 22% lead in this comparison’s headline comes from technewsdaily’s guide to Caddy and Nginx, which reports Caddy 2.11.2 serving 142,000 requests per second for 1 KB static files on 16-core ARM hardware against 116,000 for Nginx 1.26. That is one test on one machine. The same guide reports the reverse for larger files (Nginx 17% ahead above 1 MB) and cites an Art of CTO run from June 2026 in which a tuned Nginx handled more requests than Caddy. Under the assumptions set out below, a site under roughly 10 million page views a day uses a small share of either figure, so the gap does not decide capacity; choose on HTTPS upkeep, idle memory and file size. As of 13 November 2026 the current releases are Caddy 2.11.9 (per Caddy’s GitHub releases) and Nginx 1.31.8 mainline (per nginx.org’s download page).
Don't miss new tech stories on Google
Add Tech Insider once in the Google app and our stories appear in your news suggestions.
Where 142,000 vs 116,000 requests per second comes from, and how old its versions are
Caddy 2.11.2 delivers 142,000 requests per second for 1KB static files on 16-core ARM hardware. This result exceeds the 116,000 requests per second that Nginx 1.26 achieves on the same hardware.
technewsdaily
The lead works out to 22.4% (142 divided by 116 is 1.224), which matches the guide’s 22% figure. The version labels are the weak point. Caddy’s GitHub releases page lists v2.11.9 (5 November 2026) as the latest as of 13 November 2026, and v2.11.2 is dated 6 March 2026. nginx.org’s download page lists 1.26.3 only among legacy versions, and its changelog has 1.31.8 (21 October 2026) as the newest release. The 22% therefore describes a Caddy several releases old and an Nginx branch that is now legacy.
A size check on the claim itself: 142,000 responses of 1,024 bytes (taking 1 KB as 1,024 bytes) is about 145 MB/s, or 1.16 Gbit/s of body bytes before any HTTP headers, and 116,000 is 0.95 Gbit/s. A 1 Gbit/s link cannot carry the Caddy figure, so the rig needed a faster link or loopback traffic, and the passage quoted above names neither.
One Caddy lead against a tuned-Nginx lead in the same guide
Technewsdaily gives two request-count comparisons. The last column of the table divides Nginx throughput by Caddy throughput, so 1.0 is a tie and anything above 1.0 means Nginx was faster. The Art of CTO figures are requests handled in a run rather than a rate, which still gives a ratio within that test.
| Result as reported by technewsdaily | Figures | Nginx divided by Caddy |
|---|---|---|
| Headline: Caddy 2.11.2 vs Nginx 1.26, 1 KB files, 16-core ARM | Caddy 142,000 req/s, Nginx 116,000 req/s | 0.82 |
| Art of CTO, June 2026: Caddy vs a tuned Nginx | Caddy 230,619 requests, Nginx 326,510 requests | 1.42 |
What moves the winner: file size, tuning and cores
File size comes first, and the guide says so itself: “If you handle files larger than 1 MB, Nginx pulls 17% ahead in performance.” It also credits Nginx with 38% less memory during 1 GB+ streaming. The 22% is a small-file result, and the same source gives the lead back above 1 MB.
Tuning is second. The Nginx static-content guide says sendfile removes the step of copying data into a buffer and copies directly between file descriptors, that tcp_nopush belongs with it so response headers leave in one packet, and that sendfile_max_chunk stops one fast connection from occupying a worker. A comparison that leaves those off is not testing Nginx at its static-file best, and the Art of CTO result was against a tuned Nginx.
Hardware is third. The headline ran on 16 cores, so per core it works out to 8,875 req/s for Caddy and 7,250 for Nginx (142,000 and 116,000 divided by 16), an average rather than a measurement. Core count, link speed and file size all change a result, so weigh most the test closest to your own setup.
Page views per day against 116,000 req/s, and idle megabytes against a 512 MB VPS
To turn the benchmark into a site size, assume 10 requests per page view (HTML, scripts, images), a peak ten times the daily average, and 1 KB responses as in the benchmark. The tables below are calculations from technewsdaily’s figures and these assumptions, not measurements. Real assets are larger and lower the rate a server can sustain, so treat the shares as a floor on true load.
| Page views per day | Requests per day | Average req/s | Peak req/s | Share of 116,000 (Nginx) | Share of 142,000 (Caddy) |
|---|---|---|---|---|---|
| 100,000 | 1,000,000 | 11.6 | 116 | 0.1% | 0.1% |
| 1,000,000 | 10,000,000 | 115.7 | 1,157 | 1.0% | 0.8% |
| 10,000,000 | 100,000,000 | 1,157 | 11,574 | 10.0% | 8.2% |
| 100,000,000 | 1,000,000,000 | 11,574 | 115,741 | 99.8% | 81.5% |
At 10 million page views a day the peak is 11,574 requests per second: 10.0% of 116,000 and 8.2% of 142,000, so the 22% lead buys 1.8 percentage points of headroom and both servers leave at least 90% of capacity idle. The gap only becomes visible near 100 million page views a day, where the shares are 99.8% and 81.5%, a difference of 18.3 points. If your own measurement gives lower figures than these two, the shares rise, which is what the script at the end of this page is for.
Technewsdaily’s author writes: “I find that the 22% throughput advantage Caddy shows in small-file tests often outweighs the memory difference for most modern cloud applications.” The memory difference is the same guide’s idle figures: 25 to 35 MB for Caddy and 2 to 3 MB for Nginx, with Caddy’s binary at about 45 MB because it statically links its runtime, garbage collector, TLS stack and HTTP/3 implementation.
| Deployment | Caddy idle (25 to 35 MB each) | Nginx idle (2 to 3 MB each) |
|---|---|---|
| One process on a 512 MB VPS | 4.9% to 6.8% of RAM | 0.4% to 0.6% of RAM |
| One process on a 1 GB host (1,024 MB) | 2.4% to 3.4% of RAM | 0.2% to 0.3% of RAM |
| Fifty containers, each with its own proxy | 1,250 to 1,750 MB in total | 100 to 150 MB in total |
For a single site, neither number decides anything: the throughput edge is irrelevant below about 10 million page views a day, and 35 MB is 6.8% of a 512 MB host at most. The opinion holds only in that sense. Memory becomes the figure to check when a proxy is repeated in dozens of small containers.
Versions, share and security record on 13 November 2026
| Item | Caddy | Nginx |
|---|---|---|
| Latest release | v2.11.9 (5 November 2026) | 1.31.8 mainline (21 October 2026); 1.30.6 stable; 1.28.3 and 1.26.3 legacy |
| Release in the 142,000 vs 116,000 guide | 2.11.2 (6 March 2026) | 1.26 (nginx.org lists 1.26.3 as legacy) |
| Configuration | Caddyfile, or JSON config API on localhost:2019 | nginx.conf directives |
| Config reload | POST to the admin API swaps the config; rolls back to the last working config if loading fails | nginx -s reload starts new workers and drains old ones; control API in mainline since 1.31.5 |
| Certificates | Built-in ACME client for Let’s Encrypt or ZeroSSL | Separate client such as Certbot |
| CVEs since 2020, as reported by technewsdaily | 4 | 47 |
Nginx 1.31.5 (2 September 2026) added a control API, predicate locations and ngx_http_json_module, per the changelog, so mainline now has a configuration API. The download page lists 1.30.6 as the stable version. nginx.org’s 2026 news page records the 1.30.6 stable release in October 2026 with fixes for five security vulnerabilities, including a buffer overflow when using alias with rewrite (CVE-2026-15176). Take Caddy 2.11.9; for Nginx, take stable 1.30.6 unless you want mainline features such as the control API.
W3Techs shows Nginx on 30.0% of sites whose web server it can identify as of 13 November 2026, below the 32.8% April 2026 figure that technewsdaily cites. The CVE counts of 47 and 4 are not a risk ranking, because a count mixes severity, how closely each project is scrutinised and how widely it is deployed.
Setup and upkeep: HTTPS, plugins, HTTP/3, reloads and 64-day certificates
Technewsdaily says Caddy gives “a working HTTPS reverse proxy with only two lines of configuration”, where Nginx needs installation, server blocks, proxy_pass and certificate tooling such as Certbot. Caddy’s automatic HTTPS documentation says it serves public DNS names over HTTPS with certificates from a public ACME CA such as Let’s Encrypt or ZeroSSL, keeps managed certificates renewed, redirects HTTP on port 80 to HTTPS on port 443 automatically.
For the benchmark’s own workload, the static files quick start gets a file server running, caddy file-server is the one-command form, and file_server adds or removes trailing slashes through redirects without configuration, per the Caddyfile patterns page. Extra modules are compiled in at build time: Caddy’s build documentation calls xcaddy the easiest way to build Caddy with plugins, producing a custom binary.
The same small site in both servers, a Node.js app on port 3000 with a static directory (replace the hostname with your own):
www.mysite.net {
encode gzip
header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
handle_path /assets/* {
root * /var/www/static
file_server
}
reverse_proxy localhost:3000
}
server {
listen 80;
server_name www.mysite.net;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
listen 443 quic reuseport;
http2 on;
server_name www.mysite.net;
ssl_certificate /etc/letsencrypt/live/www.mysite.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/www.mysite.net/privkey.pem;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
add_header Alt-Svc 'h3=":443"; ma=86400';
gzip on;
gzip_types text/plain text/css application/json application/javascript;
location /assets/ {
alias /var/www/static/;
sendfile on;
tcp_nopush on;
sendfile_max_chunk 1m;
}
location / {
proxy_pass http://localhost:3000;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
The Nginx block adds the three static-file directives from the tuning guide. For a full Nginx proxy setup, see Tech Insider’s Nginx reverse proxy tutorial.
HTTP/3 on Nginx needs explicit configuration. The nginx.org QUIC page describes a quic parameter on the listen directive that enables HTTP/3 over QUIC on the given port, used with reuseport so it works with multiple workers. The block above pairs it with an SSL listener and an Alt-Svc header. The page says HTTP/3 is included in nginx.org’s Linux binary packages and can also be built from source.
Certificate lifetimes add work on the Nginx side. Let’s Encrypt certificates cost $0 and last 90 days as of 13 November 2026, and its announcement of 7 October 2026 says that on 10 February 2027 all subscribers move to 64-day lifetimes by default unless they select an even shorter one. Caddy renews on its own; on an Nginx host, check that your certificate client’s renewal schedule runs often enough for the shorter lifetime.
For reloads, Caddy’s getting-started guide puts the admin API on localhost:2019 and states that “If there are any errors loading the new config, Caddy rolls back to the last working config.” PHP sites have one more option: Caddy’s documentation says FrankenPHP, a Caddy distribution, “can be up to 4x faster than with PHP-FPM”, which is a vendor claim to check on your own application.
Choosing by workload, then a script that gives your own figure
| Condition | Pick | Basis |
|---|---|---|
| New single host with a public domain, under roughly 10 million page views a day | Caddy | Automatic certificates and a two-line proxy; peak load is 10.0% of 116,000 req/s at 10 million page views under the stated assumptions |
| Existing Nginx estate with working certificate renewal | Stay on Nginx | Technewsdaily: Nginx “is the better choice for existing production environments or teams with deep Nginx expertise” |
| Files above 1 MB, or 1 GB+ streaming | Nginx | 17% ahead above 1 MB and 38% less memory on 1 GB+ streaming, as reported |
| 512 MB hosts, or many small containers each with its own proxy | Nginx, on memory | Idle 2 to 3 MB against 25 to 35 MB |
| PHP application on a single host | Caddy with FrankenPHP | Vendor claim of up to 4x over PHP-FPM; verify on your code |
| Static files near 100 million page views a day | Measure first | Peak load is 99.8% of 116,000 and 81.5% of 142,000 under the stated assumptions, and the guide’s two results point in opposite directions |
If you move an Nginx site, run Caddy on a spare port, request the same real URLs from both servers, compare status codes and headers, and switch the listener only when they match. If Apache is also on your shortlist, Tech Insider’s Nginx vs Apache comparison covers that pairing.
The published figures come from other people’s machines. The script below is a method for producing your own: it serves a 1 KB and a 1 MB file from both servers on one host, with Nginx tuned as above, and reports idle memory and the median of three wrk runs (HTTP/1.1) and three h2load runs (HTTP/2) for each. It needs caddy, nginx, wrk, h2load and curl on the PATH. The load generator shares the host’s CPU, so use a second machine for the client when you want network effects.
#!/bin/sh
set -eu
PORT_CADDY=8081
PORT_NGINX=8082
WORK=$(mktemp -d)
CADDY_PID=""
NGINX_PID=""
cleanup() {
for pid in "$CADDY_PID" "$NGINX_PID"; do
if [ -n "$pid" ]; then
kill "$pid" 2>/dev/null || true
fi
done
rm -rf "$WORK"
}
trap cleanup EXIT INT TERM
mkdir -p "$WORK/www" "$WORK/tmp"
head -c 1024 /dev/urandom > "$WORK/www/1k.bin"
head -c 1048576 /dev/urandom > "$WORK/www/1m.bin"
cat > "$WORK/Caddyfile" <<EOF
{
admin off
auto_https off
servers {
protocols h1 h2c
}
}
http://127.0.0.1:$PORT_CADDY {
root * $WORK/www
file_server
}
EOF
cat > "$WORK/nginx.conf" <<EOF
worker_processes auto;
daemon off;
pid $WORK/nginx.pid;
events { worker_connections 1024; }
http {
access_log off;
sendfile on;
tcp_nopush on;
client_body_temp_path $WORK/tmp/body;
proxy_temp_path $WORK/tmp/proxy;
fastcgi_temp_path $WORK/tmp/fcgi;
uwsgi_temp_path $WORK/tmp/uwsgi;
scgi_temp_path $WORK/tmp/scgi;
server {
listen 127.0.0.1:$PORT_NGINX;
http2 on;
root $WORK/www;
}
}
EOF
caddy run --config "$WORK/Caddyfile" --adapter caddyfile >"$WORK/caddy.log" 2>&1 &
CADDY_PID=$!
nginx -c "$WORK/nginx.conf" -p "$WORK/" -e "$WORK/error.log" >"$WORK/nginx.out" 2>&1 &
NGINX_PID=$!
wait_ready() {
for _ in 1 2 3 4 5 6 7 8 9 10; do
if curl -fs -o /dev/null "http://127.0.0.1:$1/1k.bin"; then
return 0
fi
sleep 1
done
echo "nothing is serving on port $1" >&2
exit 1
}
wait_ready "$PORT_CADDY"
wait_ready "$PORT_NGINX"
median() { sort -n | sed -n '2p'; }
wrk_rps() {
for _ in 1 2 3; do
wrk -t4 -c100 -d30s "http://127.0.0.1:$1/$2" | awk '/Requests\/sec/ {print $2}'
done | median
}
h2_rps() {
for _ in 1 2 3; do
h2load -n 200000 -c 100 -m 10 -t 4 "http://127.0.0.1:$1/$2" | awk '/^finished in/ {gsub(",", "", $4); print $4}'
done | median
}
rss_mb() { ps -o rss= -p "$1" --ppid "$1" | awk '{s += $1} END {printf "%.1f", s / 1024}'; }
printf 'idle RSS in MB: caddy %s, nginx %s\n' "$(rss_mb "$CADDY_PID")" "$(rss_mb "$NGINX_PID")"
for file in 1k.bin 1m.bin; do
printf '%s wrk req/s median: caddy %s, nginx %s\n' "$file" "$(wrk_rps "$PORT_CADDY" "$file")" "$(wrk_rps "$PORT_NGINX" "$file")"
printf '%s h2load req/s median: caddy %s, nginx %s\n' "$file" "$(h2_rps "$PORT_CADDY" "$file")" "$(h2_rps "$PORT_NGINX" "$file")"
done
Run it on the hardware you will deploy to and divide each Nginx median by the matching Caddy median, as in the table earlier, to compare with the published ratios.





