Compare commits

..

2 commits

Author SHA1 Message Date
63f1bfb819
Improve cache control 2025-03-30 17:14:24 +09:00
74035544e7
Rename "public" to "static" 2025-03-30 17:13:52 +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=60, s-maxage=60, stale-while-revalidate=59"))
"public, max-age=0, must-revalidate, s-maxage=60, stale-while-revalidate=60"))
(call-next-method app
(hsx:render-to-string
(match result