backend default {
	.host = "xzy.com";
	.port = "80";
}

sub vcl_recv {
  if (req.url ~ "\.js|css$") {
	if (req.http.Accept-Encoding ~ "gzip") {
		set req.http.Accept-Encoding = "gzip";
	} elsif (req.http.Accept-Encoding ~ "deflate") {
		set req.http.Accept-Encoding = "deflate";
	} else {
		unset req.http.accept-encoding;
	}
  } else {
	unset req.http.accept-encoding;
  }


  unset		req.http.Cookie;
  set		req.grace = 10m;
}

sub vcl_fetch {
  set		obj.http.P3P = "CP='NOI CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT', policyref='http://www.okcupid.com/w3c/p3p.xml'";
  set		obj.grace = 10m;
  if (obj.ttl < 259200s) {
	set	obj.ttl = 259200s;
  }
}

