title: Shared Varnish cache across multiple servers
body: <p>We have 4 Varnish servers behind a load balancer. By default, each Varnish server has its own cache. They do not share a cache. This is a problem because it takes 5-6 page loads of a particular page to get it cached in every server.</p>
  
  <p>To circumvent this problem, I changed the Varnish storage from memory to file. The file is stored on a disk drive which is shared across all the Varnish servers. All Varnish servers are able to start correctly but somehow they are still using their own cache. I did confirm that the cache file is being written into by Varnish.</p>
  
  <p>Any idea how to solve this problem?</p>