Instant Varnish Cache How-to

Hands-on recipes to improve your website's load speed and overall user experience with Varnish

Instant Varnish Cache How-to

Roberto Moutinho

1 customer reviews
Hands-on recipes to improve your website's load speed and overall user experience with Varnish
Mapt Subscription
FREE
$29.99/m after trial
eBook
$10.50
RRP $14.99
Save 29%
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$10.50
$29.99p/m after trial
RRP $14.99
Subscription
eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Code Files
Preview in Mapt

Book Details

ISBN 139781782160403
Paperback56 pages

Book Description

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.

Table of Contents

Chapter 1: Instant Varnish Cache How-to
Installing Varnish Cache (Must know)
Varnish Cache server daemon options (Must know)
Connecting to backend servers (Should know)
Load balance requests (Should know)
The Varnish Configuration Language (Should know)
Handling HTTP request vcl_recv (Should know)
Handling HTTP request vcl_hash (Should know)
Handling HTTP request vcl_pipe and vcl_pass (Should know)
Handling HTTP response vcl_fetch (Should know)
Handling HTTP response vcl_deliver (Should know)
Handling HTTP response vcl_error (Should know)
Caching static content (Should know)
Cookies, sessions, and authorization (Become an expert)
HTTP cache headers (Should know)
Invalidating cached content (Should know)
Compressing the response (Become an expert)
Monitoring the hit ratio (Become an expert)

What You Will Learn

 

  • 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

 

Authors

Table of Contents

Chapter 1: Instant Varnish Cache How-to
Installing Varnish Cache (Must know)
Varnish Cache server daemon options (Must know)
Connecting to backend servers (Should know)
Load balance requests (Should know)
The Varnish Configuration Language (Should know)
Handling HTTP request vcl_recv (Should know)
Handling HTTP request vcl_hash (Should know)
Handling HTTP request vcl_pipe and vcl_pass (Should know)
Handling HTTP response vcl_fetch (Should know)
Handling HTTP response vcl_deliver (Should know)
Handling HTTP response vcl_error (Should know)
Caching static content (Should know)
Cookies, sessions, and authorization (Become an expert)
HTTP cache headers (Should know)
Invalidating cached content (Should know)
Compressing the response (Become an expert)
Monitoring the hit ratio (Become an expert)

Book Details

ISBN 139781782160403
Paperback56 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Git: Version Control for Everyone Book Cover
Git: Version Control for Everyone
$ 23.99
$ 16.80
Mastering Nginx Book Cover
Mastering Nginx
$ 26.99
$ 18.90
Nginx HTTP Server - Second Edition Book Cover
Nginx HTTP Server - Second Edition
$ 26.99
$ 2.70
Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
Responsive Web Design with HTML5 and CSS3 Book Cover
Responsive Web Design with HTML5 and CSS3
$ 23.99
$ 4.80
Linux Shell Scripting Cookbook, Second Edition Book Cover
Linux Shell Scripting Cookbook, Second Edition
$ 26.99
$ 5.40