PHP Summercamp Rovinj: HTTP Caching with Varnish - Workshop

27.8.2015
Conference: PHP Summer Camp 2015, Rovinj, Croatia
Title: HTTP caching with Varnish

For some scenarios, Varnish is the silver bullet to fix performance issues and go from slow site to lightning fast site. More often though, you will need to put some effort into your application to get good results. Ideally, you design your application to play well with caching from the outset. If you don't know what you are doing, Varnish can also be the bullet to shoot yourself in the foot.
In this workshop, you will learn how to use HTTP headers to control caching and how to configure Varnish itself. Running your own vagrantbox with Varnish and PHP, you get to try out the effects of the caching headers and of Varnish configuration directives. We will discuss things that go well with Varnish and situations to avoid. After mastering the basics, we look at advanced concepts like edge side includes (ESI).

With this knowledge, you will be able to set up and configure Varnish. You know how to build applications with caching in mind, and can assess whether an application is ready for Varnish or what needs to be fixed.

workshop varnish http caching conference