Browse Source

Cache

dev-master
Simon Vieille 2 years ago
parent
commit
f36783b2ce
No known key found for this signature in database GPG Key ID: 919533E2B946EA10
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/Gist/Controller/Controller.php

+ 1
- 0
src/Gist/Controller/Controller.php View File

@ -198,6 +198,7 @@ abstract class Controller
$ttl = 3600 * 24 * 7;
$response->setTtl($ttl);
$response->setClientTtl($ttl);
$response->setExpires(new \DateTime('now +7 days'));
}
return $response;


Loading…
Cancel
Save