This course is archived!

>

Course Overview

What's new in Symfony 2.2 + ESI Fragments Bonus

  • 690 students
  • EN Captions
  • EN Script
  • Certificate of Completion

Your Guides

About this course

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!!??

3 Comments

Sort By
Login or Register to join the conversation
Default user avatar gggeek 5 years ago

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?

| Reply |

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!

| Reply |

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...

| Reply |

Delete comment?

Share this comment

astronaut with balloons in space

"Houston: no signs of life"
Start the conversation!