From 6789f44f3b5b6b866f7fa2ccced05322b8087d4f Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Wed, 8 Feb 2023 10:34:42 +0000 Subject: [PATCH] Frontend: Correct cache control headers Signed-off-by: Fred Boniface --- static/conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/conf/nginx.conf b/static/conf/nginx.conf index fa1d80f..6adc241 100644 --- a/static/conf/nginx.conf +++ b/static/conf/nginx.conf @@ -35,7 +35,7 @@ http { gzip_static on; brotli_static on; error_page 404 /404.html; - expires 2d; + expires 3600; add_header Cache-Control "public, no-transform"; } @@ -53,7 +53,7 @@ http { proxy_cache_key $scheme://$host$uri$is_args$query_string; proxy_ignore_headers Cache-Control; proxy_cache_valid 200 10080m; - expires 7d; + expires 3d; add_header Cache-Control "public, no-transform"; } }