In this action-packed Varnish workshop, the mission is to bridge the gap between code and infrastructure from a web performance point of view. Varnish will be the primary tool to perform HTTP-based caching that will make our sites, applications & webservices bulletproof.
The question is: do we adapt Varnish to our application code base or vice-versa? I won't answer that question, but instead we'll solve the problem by approaching it from both directions. By the end of this workshop, you'll be familiar with Varnish, how it behaves and how you can write VCL to ensure a good hit rate.
Portability, control & developer empowerment is also important when we approach HTTP-caching from an application point of view. In this workshop, I'll also teach you how to write code that is cacheable by leveraging the power of HTTP. We’ll build a Symfony3 app, we’ll apply some HTTP best practices, some tips and tricks, and gradually the hit rate will improve. We’ll also use varnishlog, varnishtop to verify the success of our efforts.
Requirements: You should have a basic working knowledge of Symfony.