symfony/symfony — pull request #4298 by Gator92 (2012-05-16 02:17:38+00:00)
Title: [HttpKernel][HttpCache] move ESI parsing to Esi component

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
License of the code: MIT
Documentation PR: -

ESI content parsing is moved to the Esi component to provide further de-coupling. With this change, ESI processing and parsing may be overridden by simply extending the Esi class. This change is backwards compatible, however, the cache must be cleaned before upgrading, if it contains previously processed ESI sections. These blocks would contain $this->esi->handle..., which has been changed to $this->handle... The Esi unit tests have been modified to reflect this change.