anchor.diff:  }
   
   sub vcl_hash {
  -<% if scope.lookupvar('varnish::varnish_version') == 2 %>
  +<% if scope.lookupvar('varnish::varnish_version') == 3 %>
  +  hash_data(req.url);
  +<% else %>
     set req.hash += req.url;
  -<% else %>
  -  hash_data(req.url);
   <% end %>
     return(hash);
   }
  
positive.code:     if(!client.ip ~ purge_acl) {
        error 405 "Not allowed";
      } else {
  <% if scope.lookupvar('varnish::varnish_version') == 2 %>
        purge("req.url == " req.url);
  <% else %>
        ban("req.url == " + req.url);
  <% end %>
        error 200 "Purged";
      }
  
negative.code:   unset beresp.http.X-Rack-Cache;
    unset beresp.http.X-Runtime;
  
  <% if scope.lookupvar('varnish::varnish_version') == 3 %>
    if (beresp.ttl > 0s) {
  <% else %>
    if (beresp.cacheable) {
  <% end %>
      # Remove Expires from backend, it's not long enough
      unset beresp.http.expires;
  