Introduction #

Varnish is a web cache and is used as an ESI implementation in the example.

Varnish is mainly used for optimizing web servers:

  1. It intercepts the HTTP requests to web servers.
  2. It then caches the responses.
  3. It forwards only those requests to the web servers that are not in the cache.

This improves performance.

Get hands-on with 1400+ tech skills courses.