Varnish
In this lesson, we'll discuss Varnish.
Introduction #
Varnish is a web cache and is used as an ESI implementation in the example.
Varnish is mainly used for optimizing web servers:
- It intercepts the HTTP requests to web servers.
- It then caches the responses.
- It forwards only those requests to the web servers that are not in the cache.
This improves performance.
Licence and support #
Varnish is licensed under a BSD license. The cache is mainly developed by Varnish Software, which also provides commercial support.
Caching with HTTP and HTTP headers #
Caching data correctly is not a trivial matter. Above all, the questions are when can ...