Going crazy with caching: Caching pages of logged in users

21.2.2024

Conference: Confoo 2024, Montreal, Canada
Title: Going crazy with caching: Caching pages of logged in users
Links: slides

You know how HTTP caching works but need more? In this talk we look into ways to cache personalized content. We will look at Edge Side Includes (ESI) to tailor caching rules of fragments, and at the user context concept to differentiate cache entries by permission groups instead of by individual users. The FOSHttpCache library in combination with either Varnish or the Symfony HttpCache reverse proxy are a big help to leverage the user context concept.

caching http performance varnish conference