Compare commits

..

2 commits

Author SHA1 Message Date
02f681e799
Rename "public" to "static" 2025-03-30 09:10:09 +09:00
479dee81c9
Improve cache control 2025-03-29 15:44:37 +09:00

View file

@ -74,7 +74,7 @@
(set-response-header :content-type "text/html; charset=utf-8")
(set-response-header :cache-control (if (string= (hp-env) "dev")
"no-store, no-cache, must-revalidate"
"public, max-age=0, must-revalidate, s-maxage=60, stale-while-revalidate=60"))
"public, max-age=60, s-maxage=60, stale-while-revalidate=59"))
(call-next-method app
(hsx:render-to-string
(match result