Pre-fetch the config.json to improve startup time

This commit is contained in:
Quentin Gliech
2024-11-15 13:25:33 +01:00
parent 9650ca9687
commit 2e172aa3be
3 changed files with 8 additions and 11 deletions

View File

@@ -8,7 +8,7 @@ server {
location / {
try_files $uri $uri/ /index.html;
add_header Cache-Control "no-store, no-cache, must-revalidate";
add_header Cache-Control "public, max-age=30, stale-while-revalidate=30";
}
# assets can be cached because they have hashed filenames