Improve cache strategy

This commit is contained in:
Akira Tempaku 2025-05-02 11:20:37 +09:00
parent b69fcee7a1
commit 3d687992c0
Signed by: paku
GPG key ID: 5B4E8402BCC50607

View file

@ -18,7 +18,7 @@
(if (string= (website-env) "dev")
"private, no-store"
(cond
((eq strategy :static) "public, max-age=31536000, immutable")
((eq strategy :static) "public, max-age=60, s-maxage=31536000")
((eq strategy :dynamic) "public, max-age=60")
(t "private, no-store")))))