change cache policy to include ferron
This commit is contained in:
parent
870d8ec257
commit
c53639855a
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue