anchor.diff:  }
   
   sub vcl_recv {
  -  
  -    /* serve slightly stale content while a fresh version is fetched
  -       better user experience and no thread pile up on the app servers */
  +    # serve slightly stale content while a fresh version is fetched
  +    #   better user experience and no thread pile up on the app servers
       set req.grace = 2m;
     
       # set the backend server based on request (if multi-server stack)
  
positive.code:   <% end %>
      
    
      /* Reject Non-RFC2616 or CONNECT or TRACE requests. */
      if (req.request != "GET" &&
        req.request != "HEAD" &&
        req.request != "PUT" &&
  
negative.code:         return (pipe);
      }
      
      # Compression handled upstream; only want one in the cache
      if (req.http.Accept-Encoding) {
          remove req.http.Accept-Encoding;
      }
      
      # Add a unique header containing the client address
      remove req.http.X-Forwarded-For;
      set    req.http.X-Forwarded-For = client.ip;
      
      # Pass POSTs etc directly on to the backend
      if (req.request != "GET" && req.request != "HEAD") {
          return (pass);
      }
      
      # Pass admin requests directly on to the backend
      if (req.url ~ "^/admin/") {
          return (pass);
      }
  
      # Remove cookies for anything that doesn't match the following
      if (req.url !~ "^(/login|/logout|/admin)") {
        unset req.http.cookie;
      }
  
      # Prevent duplication of caches
      set req.http.host = "<%= @node[:varnish][:proxy_host_name] %>";
      
      # Check to see if cached
      return (lookup);
  }
  
  sub vcl_fetch {
      # The following two sections give 'not accessible' errors...commenting out for now...
      
      # Remove cookies for anything that doesn't match the following
      # if (req.url !~ "^(/login|/logout|/admin)") {
      #   unset obj.http.set-cookie;
      # }
      
      # serve slightly stale content while a fresh version is fetched
      #    better user experience and no thread pile up on the app servers
      # set obj.grace = 2m;
      
      # Directly serve static content
      if (req.url ~ "^(/images|/javascripts|/flash|/stylesheets|/sitemaps|/articles/html|/articles/xml|/regulations/html)") {
          return(deliver);
      }
      # ESI process the rest
      else {
          esi;
      }
  