Symfony2 Selective ESI caching
===

i'm using the [Liip Cache Control bundle][1] to handle the caching in my project. By using this bundle you can configure the caching like this:

    liip_cache_control:
        rules:
            - { path: /admin, controls: { private: true}, vary: [Accept-Encoding] }
            - { path: ^/_internal, controls: {private: true, max_age: 0}}
            - { path: ^/([^/]*)/live/time(.*), controls: { public: true, max_age: 1, s_maxage: 1    }, vary: [Accept-Encoding,Cookie] }

Now every esi (internal) route is not cached. But i now i want one internal request to be cached. Any idea how i can configure this? I cannot find which route is actually used to execute this request.

kind regards,

Daan


  [1]: https://github.com/liip/LiipCacheControlBundle