From 0088c11d5e89e7f618a79254a9b60dae66eeea50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Gra=CC=88fenstein?= Date: Sun, 22 Mar 2026 17:43:24 +0100 Subject: [PATCH] enable Caddy response compression to fix slow page loads Caddy was decompressing nginx's gzip responses and sending them uncompressed to the browser, causing core-common.js (5.7MB) to take 25s to download. Adding encode zstd gzip compresses it to 1.3MB at the edge. --- caddy/Caddyfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 6cc296f..9ab6f40 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -9,6 +9,8 @@ } nextcloud.t-gstone.de { + encode zstd gzip + reverse_proxy nextcloud-nginx:80 header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"