esi.xml 803 B

1234567891011121314151617181920
  1. <?xml version="1.0" ?>
  2. <container xmlns="http://symfony.com/schema/dic/services"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
  5. <parameters>
  6. <parameter key="esi.class">Symfony\Component\HttpKernel\HttpCache\Esi</parameter>
  7. <parameter key="esi_listener.class">Symfony\Component\HttpKernel\EventListener\SurrogateListener</parameter>
  8. </parameters>
  9. <services>
  10. <service id="esi" class="%esi.class%" />
  11. <service id="esi_listener" class="%esi_listener.class%">
  12. <tag name="kernel.event_subscriber" />
  13. <argument type="service" id="esi" on-invalid="ignore" />
  14. </service>
  15. </services>
  16. </container>