Getting Started with Varnish Cache: Accelerate Your Web Applications
- Length: 253 pages
- Edition: 1
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2017-03-13
- ISBN-10: 149197222X
- ISBN-13: 9781491972229
- Sales Rank: #1883003 (See Top 100 Books)
How long does it take for your website to load? Web performance is just as critical for small and medium-sized websites as it is for massive websites that receive tons of hits. Before you pour money and time into rewriting your code or replacing your infrastructure, first consider a reverse-caching proxy server like Varnish. With this practical book, you’ll learn how Varnish can give your website or API an immediate performance boost.
Varnish mimicks the behavior of your webserver, caches its output in memory, and serves the result directly to clients without having to access your webserver. If you’re a web developer familiar with HTTP, this book helps you master Varnish basics, so you can get up and running in no time. You’ll learn how to use the Varnish Configuration Language and HTTP best practices to achieve faster performance and a higher hit rate.
- Understand how Varnish helps you gain optimum web performance
- Use HTTP to improve the cache-ability of your websites, web applications, and APIs
- Properly invalidate your cache when the origin data changes
- Optimize access to your backend servers
- Avoid common mistakes when using Varnish in the wild
- Use logging and debugging tools to examine the behavior of Varnish
Table of Contents
Chapter 1 What Is Varnish Cache?
Chapter 2 Go, Go, Go and Get Started!
Chapter 3 Varnish Speaks HTTP
Chapter 4 The Varnish Configuration Language
Chapter 5 Invalidating the Cache
Chapter 6 Dealing with Backends
Chapter 7 Improving Your Hit Rate
Chapter 8 Logging, Measuring, and Debugging
Chapter 9 What Does This Mean for Your Business?
Chapter 10 Taking It to the Next Level