Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. Varnish Cache is really, really fast. It typically speeds up delivery with a factor of 300 – 1000x, depending on your architecture.
Why Varnish :
- To reduce server load.
- To make a website load faster, because cache stored in RAM.
- To gain more visitors, because every webmaster love it.
As Varnish can be installed and run along with either Nginx or Apache but in this tutorial I will show you how to install and setup Varnish on Apache-based Ubuntu server.