From d04ddd4c3287c574528506fa652c2a87ccb6ec92 Mon Sep 17 00:00:00 2001 From: mtgmonkey Date: Fri, 9 May 2025 18:21:51 -0400 Subject: [PATCH] change cache policy --- backend/app/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/Main.hs b/backend/app/Main.hs index 046cd4d..e2b879a 100644 --- a/backend/app/Main.hs +++ b/backend/app/Main.hs @@ -95,7 +95,7 @@ serverErrorReadFile e = H.toHtml $ "document.getElementById('body').innerHTML='S ++ "';" shortCache :: ActionM () -shortCache = addHeader "Cache-Control" "must-understand, stale-if-error=43200, max-age=43200" +shortCache = addHeader "Cache-Control" "max-age=21600" noCache :: ActionM () noCache = addHeader "Cache-Control" "no-cache"