From b398e2e184d64af22f0565d15e0e153be367ada8 Mon Sep 17 00:00:00 2001 From: lawvs <18554747+lawvs@users.noreply.github.com> Date: Fri, 30 Sep 2022 17:16:55 +0800 Subject: [PATCH] chore: update cache time --- .github/deployment/nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/deployment/nginx.conf b/.github/deployment/nginx.conf index 22997cb86..7441f6f8f 100644 --- a/.github/deployment/nginx.conf +++ b/.github/deployment/nginx.conf @@ -9,7 +9,8 @@ server { index index.html index.htm; location /_next/static { - add_header Cache-Control "max-age=31536000"; + # 7 days + add_header Cache-Control "max-age=86400"; } location / {