Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3b570ea + ec9b07f commit bf05af1Copy full SHA for bf05af1
book/http_cache.rst
@@ -155,7 +155,10 @@ kernel::
155
$kernel->loadClassCache();
156
// wrap the default AppKernel with the AppCache one
157
$kernel = new AppCache($kernel);
158
- $kernel->handle(Request::createFromGlobals())->send();
+ $request = Request::createFromGlobals();
159
+ $response = $kernel->handle($request);
160
+ $response->send();
161
+ $kernel->terminate($request, $response);
162
163
The caching kernel will immediately act as a reverse proxy - caching responses
164
from your application and returning them to the client.
0 commit comments