Is it possible to install varnish cache and use it in localhost. I'm using xampp web server to run magento in my localhost. I can able to get plenty of documents in online to configure varnish cache and use it in the server level. I would need to know that can we able to do it in localhost.

If yes, Shall I follow the steps which has given in devdocs.magento.com? or, if there is any other document in the online please share the link here. Or, please share the link if there is same kind of post available.

If no, please tell me that why cant we do that in localhost. So that I can be aware of it.



Yes, it is possible and you need to follow these steps: https://www.cloudways.com/blog/magento-2-varnish-setup/

From here, you can install varnish cache in Magento store. You need to make some minimal changes in configuration as per store requirements.


Please follow the below links to achieve it:


  • 1
    Already I have mentioned that link in my post.
    – TS Guhan
    Mar 30 '17 at 6:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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