make extra-sure game pages and tournament pages are not cached
even by back/next browser buttons, as to avoid out of sync clocks
This commit is contained in:
parent
ecd283e939
commit
616fec4da2
|
@ -39,7 +39,7 @@ private[controllers] trait LilaController
|
||||||
implicit def lang(implicit req: RequestHeader) = Env.i18n.pool lang req
|
implicit def lang(implicit req: RequestHeader) = Env.i18n.pool lang req
|
||||||
|
|
||||||
protected def NoCache(res: Result): Result = res.withHeaders(
|
protected def NoCache(res: Result): Result = res.withHeaders(
|
||||||
CACHE_CONTROL -> "no-cache", PRAGMA -> "no-cache"
|
CACHE_CONTROL -> "no-cache, no-store, must-revalidate", EXPIRES -> "0"
|
||||||
)
|
)
|
||||||
|
|
||||||
protected def Socket[A: FrameFormatter](f: Context => Fu[(Iteratee[A, _], Enumerator[A])]) =
|
protected def Socket[A: FrameFormatter](f: Context => Fu[(Iteratee[A, _], Enumerator[A])]) =
|
||||||
|
|
Loading…
Reference in a new issue