A cache is an essential component of a web server. With applications like Magento, cache plays an essential role in application performance because it drastically reduces the load on the application and speeds up page response. As a result, the user experience improves significantly.
When it comes to Magento 2, Varnish is a popular choice. Magento 2 Varnish is a proven combination and increases site performance significantly. With previous versions of Magento, you need to install extensions such as “Phoenix Page Cache” or “Turpentine Varnish Cache” for integrating Varnish with Magento. With Magento 2, Varnish is integrated by default and requires minor configuration changes to make it work with your store.
Click here to know more about magento varnish cache configuration