reduce user popup client cache duration

This commit is contained in:
Thibault Duplessis 2014-05-14 22:01:22 +02:00
parent b7e8626f1d
commit df747f0742

View file

@ -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")
}
}
}