File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,10 @@ kernel::
155155
$kernel->loadClassCache();
156156
// wrap the default AppKernel with the AppCache one
157157
$kernel = new AppCache($kernel);
158-
$kernel->handle(Request::createFromGlobals())->send();
158+
$request = Request::createFromGlobals();
159+
$response = $kernel->handle($request);
160+
$response->send();
161+
$kernel->terminate($request, $response);
159162

160163
The caching kernel will immediately act as a reverse proxy - caching responses
161164
from your application and returning them to the client.

0 commit comments

Comments
 (0)