What's new in Symfony 2.2 + ESI Fragments Bonus

Symfony 2.2 is out and wonderful! If you're thinking about upgrading, there are a few important changes to be aware of and a bunch of great new features.

In this screencast, we'll talk about how to upgrade, things to watch out for, and some new features. We dive a bit deeper into caching and ESI in Symfony by exploring the new fragments framework (formerly sub-requests). If you've been thinking about caching or are confused by the new changes, this is for you!

Highlights:

* The new fragments framework, ESI, the `ProxyListener`, trusted proxies
* Host Routing
* New tools inside the console commands
* Upgrading to Symfony3!!??

Your Guides

Ryan Weaver Leanna Pelham

Questions? Conversation?

  • 2014-05-27 gggeek

    thanks.:-)

    To tell the whole truth, I always found the docs for trusted_proxies to be a bit lacking, and the name in itself not too explicit either...

  • 2014-05-27 weaverryan

    Yes! Otherwise you'll get the wrong IP address for things like $request->getClientIp() and a few other things. ESI is only one reason that you need to trust your proxies. Great question.

    Cheers!

  • 2014-05-27 gggeek

    Nice info!

    What if I have a reverse proxy in front of the app which does load balancing and ssl terminating, but no ESI. In that case is it recommended to set trusted_proxies as well, or not?