
I’m trying to make Varnish work on my local Mac with MAMP Pro (running a Drupal website). I have installed Varnish with Homebrew
brew install varnish
So far so good. Then I start Varnish with the following command :
sudo varnishd -a 127.0.0.1:8080 -T 127.0.0.1:6082 -f /usr/local/etc/varnish/drupal.vcl -s file,/tmp,500M
MAMP Pro is set to port 80 which is the conf I have in my .vcl file. The problem is Varnish does not cache the page when I go to my http://drupal.local website (All the caching conf from Drupal is properly set up as it works on a centOS server).
Any idea about what I’m missing ?