From 92fa4da0ee0c9d66ba24e4fc454ad8f8dbc4197e Mon Sep 17 00:00:00 2001 From: Stefan van Herwijnen Date: Fri, 13 Dec 2024 11:56:09 +0100 Subject: [PATCH] fix(docs): add webp caching --- packages/docs/build/Caddyfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/docs/build/Caddyfile b/packages/docs/build/Caddyfile index dd35746..9ad91fd 100644 --- a/packages/docs/build/Caddyfile +++ b/packages/docs/build/Caddyfile @@ -1,4 +1,6 @@ www.slimfact.app { + @webp path *.webp + header @webp Cache-Control "public, max-age=31536000, immutable" encode zstd gzip handle_path /* { root * /srv/www.slimfact.app