Commit fc82b425 authored by Fabien Potencier's avatar Fabien Potencier

partially reverted previous merge

parent 3419a387
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment