Improve cache strategy
This commit is contained in:
parent
b69fcee7a1
commit
3d687992c0
1 changed files with 1 additions and 1 deletions
|
@ -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")))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue