More Information


  • Install and configure Varnish Cache
  • Connect application servers to Varnish Cache
  • Load balance requests
  • Request and response workflow inside the Varnish
  • Caching and compressing static content
  • Session and cookie handling
  • Invalidating stale content



When you're doing business on the Web, every second counts. 80 percent of the end user response time is spent on downloading content to the browser, and Varnish Cache is here to help you solve this problem in a simple and effective way.

"Varnish Cache How-to" is a practical, hands-on guide that will take you from beginner to advanced, improving your website speed and dropping the bounce and page abandonment rates of your website. With easy-to-follow recipes, this book will help you take advantage of caching your application server’s response to avoid a duplicated workload.

This book will take you from the installation of the Varnish Cache server to defining caching policies, the normalization of static content, and a final production-ready fast and scalable cache server.

You will learn to balance requests across servers based on input data or pre-defined settings, create persisted sessions (sticky sessions), compress static content, and modify requests. If you want to improve the speed and also provide a fail-over mechanism to achieve a fast and available website, then this book is for you.

By the end of this book, you’ll learn how to scale and improve the user‘s experience by providing a fast and available website.



  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results.
  • Connect and health-check application servers with Varnish Cache
  • Load balance requests across clustered servers
  • Define caching policies and request/response workflow


Page Count 56
Course Length 1 hours 40 minutes
ISBN 9781782160410
Date Of Publication 25 Jan 2013


Roberto Moutinho

Roberto Moutinho is a system analyst, DevOPs evangelist, Open Source and Open Standards advocate currently residing in Rio de Janeiro, Brazil. Passionate about the Web, he’s currently a web developer working in one of the largest classified platforms in Latin America optimizing the overall performance of in-house and third-party services. When off duty, you’ll often find him taking apart old electronics to salvage components for weird and often useless DIY projects.