From 462183cdf1cc0581d712a311f93ea499af2d0f05 Mon Sep 17 00:00:00 2001 From: Ryo Date: Mon, 11 Aug 2025 14:06:15 +0800 Subject: [PATCH] feat: Added a new cache policy to the homepage (#681) --- docker/nginx/conf.d/default.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/nginx/conf.d/default.conf b/docker/nginx/conf.d/default.conf index 8f67b611..a0beeb62 100644 --- a/docker/nginx/conf.d/default.conf +++ b/docker/nginx/conf.d/default.conf @@ -10,6 +10,11 @@ server { autoindex on; autoindex_exact_size off; autoindex_localtime on; + + etag on; + if_modified_since exact; + add_header Cache-Control "no-cache"; + add_header Cache-Control "public, max-age=3600"; } # API proxy