reduce user popup client cache duration
This commit is contained in:
parent
b7e8626f1d
commit
df747f0742
|
@ -32,7 +32,7 @@ object User extends LilaController {
|
|||
(ctx.userId ?? { relationApi.relation(_, user.id) }) map {
|
||||
case ((((game, blocked), followed), followable), relation) =>
|
||||
Ok(html.user.mini(user, game, blocked, followed, followable, relation))
|
||||
.withHeaders(CACHE_CONTROL -> "max-age=60")
|
||||
.withHeaders(CACHE_CONTROL -> "max-age=5")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue