title: Magento not hitting Varnish cache
body: <p>I have setup a Magento installation with Nginx behind a Varnish cache server and I'm using <a href="http://www.magentocommerce.com/magento-connect/pagecache-powered-by-varnish.html" rel="nofollow">this extension</a>. </p>
  
  <p>However, I never get a hit on cache:</p>
  
  <pre><code>HTTP/1.1 200 OK
  Server: nginx/1.1.19
  Content-Type: text/html; charset=UTF-8
  Vary: Accept-Encoding
  X-Powered-By: PHP/5.3.10-1ubuntu3.6
  Set-Cookie: frontend=8hoas96a6grd1hfb8vqqa5t9a5; expires=Wed, 12-Jun-2013 16:51:51 GMT; path=/; domain=54.232.214.253; H
  ttpOnly
  Set-Cookie: currency=BRL; expires=Wed, 12-Jun-2013 16:51:51 GMT; path=/; domain=54.232.214.253; httponly
  Set-Cookie: PAGECACHE_ENV=xo32rWZFNbsRL%2F05449a0JLaKEguYZObIG0ZFWOVEV3Ajma1%2FUaj%2FA8nPjnTGpBu%2BMw9h72MUATmZTpHe7Ec4A
  9pN%2BJcu%2F%2BggyaAX%2FZEZC4%3D; expires=Wed, 12-Jun-2013 16:51:52 GMT; path=/; domain=54.232.214.253; httponly
  X-Cache-Debug: 1
  Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0, s-maxage=0
  Expires: Mon, 31 Mar 2008 10:00:00 GMT
  Pragma: no-cache
  X-Purge-URL: /
  X-Purge-Host: 54.232.214.253
  Date: Wed, 12 Jun 2013 15:51:52 GMT
  X-Varnish: 369200976
  Age: 0
  Via: 1.1 varnish
  Connection: keep-alive
  X-Cache: MISS
  X-Cache-Expires: Mon, 31 Mar 2008 10:00:00 GMT
  </code></pre>
  
  <p>I understand the reason is because of the cookies being set, so Varnish passes the request on to Nginx, but I can't find the reason it's not removing them from the request (this should be done according to the default.vcl which I'm using the one provided by the module)</p>