From f8362223c379a68d0eabdc01c626e774947300b6 Mon Sep 17 00:00:00 2001 From: Lucas Date: Thu, 8 Jan 2026 19:10:36 +0100 Subject: [PATCH] Test new cache config --- Caddyfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Caddyfile b/Caddyfile index 918d68e..c273231 100755 --- a/Caddyfile +++ b/Caddyfile @@ -34,6 +34,11 @@ portfolio.lucasroyer.fr { ttl 24h stale 12h } + header { + # s-maxage=86400 : proxy keep html in RAM for 24h + # max-age=0 : client browser check every time with etag + # must-revalidate : ask server if it is steel up to date + Cache-Control "public, s-maxage=86400, max-age=0, must-revalidate" # Security header {