Magento 2

Mega Menu Disappears When using Varnish Cache Magento 2

Posted on

Once you have varnish cache in your server setup and configured one of the problems you might face if you use varnish cache. Thats your mega menu will disappear from the site mobile as well as desktop version. Simple solution to that is to go to /vendor/magento/module-theme/view/frontend/layout/default.xml. In this file find “<block class=”Magento\Theme\Block\Html\Topmenu” name=”catalog.topnav” template=”Magento_Theme::html/topmenu.phtml” ttl=”3600″ […]

 1,176 total views