Compare commits

..

2 commits

Author SHA1 Message Date
f16f49dde7
Improve cache control 2025-05-01 00:37:46 +09:00
cc6683cdcc
Purge CDN cache on deploy 2025-05-01 00:37:03 +09:00

View file

@ -19,9 +19,9 @@
"private, no-store"
(cond
((eq strategy :static)
"public, max-age=60, s-maxage=31536000")
"public, max-age=31536000, immutable")
((eq strategy :dynamic)
"public, max-age=60 s-maxage=300, stale-while-revalidate=86400, stale-if-error=86400")
"public, max-age=60 stale-while-revalidate=86400, stale-if-error=86400")
(t
"private, no-store")))))