How to install the varnish cache in magento2. I need setup the varnish cache in my system localhost. can anyone please guide me.

2 Answers 2


follow these steps:


install varnish cache in Magento store. You need to make some minimal changes in configuration as per store requirements.


You can easily Varnish in Localhost by this following link : Click Here

Magento Configuration after Varnish install on Local Server : Click Here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.