feat: Added a new cache policy to the homepage (#681)

This commit is contained in:
Ryo 2025-08-11 14:06:15 +08:00 committed by GitHub
parent b19ae505f0
commit 462183cdf1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -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