1
0
mirror of https://gitnet.fr/deblan/gist.git synced 2021-08-14 08:30:49 +02:00
This commit is contained in:
Simon Vieille 2018-08-21 10:01:33 +02:00
parent b43baac802
commit 6e848f0982
No known key found for this signature in database
GPG Key ID: 919533E2B946EA10

View File

@ -195,7 +195,9 @@ abstract class Controller
$response = new Response($body);
if (empty($params['no_cache'])) {
$response->setTtl(3600 * 24 * 7);
$ttl = 3600 * 24 * 7;
$response->setTtl($ttl);
$response->setClientTtl($ttl);
}
return $response;