Cache
This commit is contained in:
parent
001901a8f7
commit
f36783b2ce
|
@ -198,6 +198,7 @@ abstract class Controller
|
||||||
$ttl = 3600 * 24 * 7;
|
$ttl = 3600 * 24 * 7;
|
||||||
$response->setTtl($ttl);
|
$response->setTtl($ttl);
|
||||||
$response->setClientTtl($ttl);
|
$response->setClientTtl($ttl);
|
||||||
|
$response->setExpires(new \DateTime('now +7 days'));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $response;
|
return $response;
|
||||||
|
|
Loading…
Reference in a new issue