From c53639855a663554d67421be858488769b80cc36 Mon Sep 17 00:00:00 2001 From: mtgmonkey Date: Fri, 9 May 2025 18:09:06 -0400 Subject: [PATCH] change cache policy to include ferron --- 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 2373dd3..046cd4d 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" "private, must-understand, stale-if-error=43200, max-age=43200" +shortCache = addHeader "Cache-Control" "must-understand, stale-if-error=43200, max-age=43200" noCache :: ActionM () noCache = addHeader "Cache-Control" "no-cache"