From 163f8dffd9e827ccb2c26d31e32bd6183958516c Mon Sep 17 00:00:00 2001 From: Lucas Date: Thu, 8 Jan 2026 18:37:43 +0000 Subject: [PATCH] Fix cache issues --- Caddyfile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/Caddyfile b/Caddyfile index 918d68e..82bd222 100755 --- a/Caddyfile +++ b/Caddyfile @@ -29,12 +29,11 @@ jenkins.lucasroyer.fr { } portfolio.lucasroyer.fr { - # Cache + # Server cache cache { ttl 24h stale 12h } - # Security header { X-Frame-Options "DENY" @@ -44,13 +43,7 @@ portfolio.lucasroyer.fr { Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" } - # Static files - @static { - path *.ico *.css *.js *.gif *.jpg *.jpeg *.png *.svg *.woff *.woff2 - } - header @static Cache-Control "public, max-age=604800, must-revalidate" - - # 4. Logs (pour voir tes stats de visites dans Docker) + # Log log { output file /data/portfolio_access.log }