add new route for testing esi tag

This commit is contained in:
Manuel Raynaud
2013-11-20 10:09:12 +01:00
parent 64c5991838
commit a436adf438
7 changed files with 16 additions and 7 deletions

View File

@@ -44,9 +44,8 @@ if ( false === in_array($request->getClientIp(), $trustedIp)) {
$response = Response::create('Forbidden', 403)->send();
$thelia->terminate($request, $response);
} else {
$thelia = new HttpCache($thelia);
$response = $thelia->handle($request)->send();
//$thelia->terminate($request, $response);
$thelia->terminate($request, $response);
}