Magento 2 change varnish settings

992 Views Asked by At

Like a lot of other users i have a problem with displaying my navigation bar in magento 2 with Luma theme and varnish. I found out that changing a varnish setting can solve the problem (https://magento.stackexchange.com/questions/99768/magento-2-https-ssl-missing-navigation-menu/100128#100128), but how to change that setting in a default magento 2.1.3 configuration?

Also, how do i check the version and working of Varnish? if i simply use varnishd -V in ssh, there comes an error message...

Update: When I remove the TTL attribute in default.xml the problem is solved, the menubar is there again. But can that cause any other problems?

1

There are 1 best solutions below

6
On

The performance of a website is always the key factor for ensuring a higher conversion rate. Fortunately, Magento 2 (both CE & EE) comes by default with the support for FPC (Full Page Caching), Varnish & Redis to make your store fly.

To setup varnish in Magento 2, please follow the given instructions in below URL.

https://www.cloudways.com/blog/magento-2-varnish-setup/