@@ -856,7 +856,7 @@ If one content corresponds to one URL, the ``PURGE`` model works well.
856856You send a request to the cache proxy with the HTTP method ``PURGE `` (using
857857the word "PURGE" is a convention, technically this can be any string) instead
858858of ``GET `` and make the cache proxy detect this and remove the data from the
859- cache instead of going toSymfony to get a response.
859+ cache instead of going tothe application to get a response.
860860
861861Here is how you can configure the Symfony reverse proxy to support the
862862``PURGE `` HTTP method::
@@ -877,7 +877,10 @@ Here is how you can configure the Symfony reverse proxy to support the
877877 }
878878
879879 if ('127.0.0.1' !== $request->getClientIp()) {
880- return new Response('Invalid HTTP method', Response::HTTP_BAD_REQUEST);
880+ return new Response(
881+ 'Invalid HTTP method',
882+ Response::HTTP_BAD_REQUEST
883+ );
881884 }
882885
883886 $response = new Response();
@@ -987,8 +990,10 @@ First, to use ESI, be sure to enable it in your application configuration:
987990 <container xmlns =" http://symfony.com/schema/dic/symfony"
988991xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
989992xmlns : framework =" http://symfony.com/schema/dic/symfony"
990- xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
991- http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
993+ xsi : schemaLocation =" http://symfony.com/schema/dic/services
994+ http://symfony.com/schema/dic/services/services-1.0.xsd
995+ http://symfony.com/schema/dic/symfony
996+ http://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
992997
993998 <framework : config >
994999<!-- ...-->
@@ -1115,8 +1120,10 @@ that must be enabled in your configuration:
11151120 <container xmlns =" http://symfony.com/schema/dic/services"
11161121xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
11171122xmlns : doctrine =" http://symfony.com/schema/dic/framework"
1118- xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
1119- http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
1123+ xsi : schemaLocation =" http://symfony.com/schema/dic/services
1124+ http://symfony.com/schema/dic/services/services-1.0.xsd
1125+ http://symfony.com/schema/dic/symfony
1126+ http://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
11201127
11211128<!-- ...-->
11221129 <framework : config >