Permalink
Browse files

partially reverted previous merge

  • Loading branch information...
1 parent 3419a38 commit fc82b4255ef081dd7d464c5320ca93a902f9190f @fabpot committed Sep 30, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 doc/providers/http_cache.rst
@@ -72,12 +72,16 @@ The provider also provides ESI support::
'Surrogate-Control' => 'content="ESI/1.0"',
));
- return $response->setTtl(20);
+ $response->setTtl(20);
+
+ return $response;
});
$app->get('/included', function() {
$response = new Response('Foo');
- return $response->setTtl(5);
+ $response->setTtl(5);
+
+ return $response;
});
$app['http_cache']->run();

0 comments on commit fc82b42

Please sign in to comment.