MGT Development Environment - Varnish Cache
Varnish Cache is pre-installed and configured but disabled, which means all requests are going through Varnish, but they aren't cached.
After enabling Varnish Cache in the Magento Backend, you can enable Varnish:
- Open the Varnish configuration file:
/etc/varnish/default.vcl
nano /etc/varnish/default.vcl
- Search for the following line:
return (pass);
and comment it by putting a #
in front:
#return (pass);
- Restart the Varnish Service to apply the change via supervisor:
supervisorctl restart varnish