$kernel = new AppKernel('prod', false); $kernel->loadClassCache(); // wrap the default AppKernel with the AppCache one $kernel = new AppCache($kernel); $request = Request::createFromGlobals(); $response = $kernel->handle($request); $response->send(); $kernel->terminate($request, $response);
<html> <body> <!-- ... some content --> <!-- Embed the content of another page here —> <!-- Has a TTL of 500 seconds --> <esi:include src="http://..." /> <!-- ... more content --> </body> </html>