2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
12 sub vcl_backend_response {
13 /* if (beresp.status != 200 && beresp.status != 403 && beresp.status != 404 && beresp.status != 301 && beresp.status != 302) {
17 # if I cant connect to the backend, ill set the grace period to be 600 seconds to hold onto content
18 set beresp.ttl = 600s;
19 set beresp.grace = 600s;
21 if (beresp.status >= 500) {
22 set beresp.ttl = 0.1s;
24 unset beresp.http.Set-Cookie;
30 set resp.http.X-Served-By = server.hostname;
32 set resp.http.X-Cache = "HIT";
33 set resp.http.X-Cache-Hits = obj.hits;
35 set resp.http.X-Cache = "MISS";