change cache policy to include ferron

This commit is contained in:
mtgmonkey 2025-05-09 18:09:06 -04:00
parent 870d8ec257
commit c53639855a

View file

@ -95,7 +95,7 @@ serverErrorReadFile e = H.toHtml $ "document.getElementById('body').innerHTML='S
++ "';" ++ "';"
shortCache :: ActionM () 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 :: ActionM ()
noCache = addHeader "Cache-Control" "no-cache" noCache = addHeader "Cache-Control" "no-cache"