Slide 30
Slide 30 text
disqus.com/embed/comments/
sub vcl_fetch {
set beresp.grace = 4h;
set beresp.ttl =
std.duration(regsub(beresp.http.Surrogate-Control,
"max-age=(\d+)", "\1s"), 60s);
unset beresp.http.Surrogate-Control;
unset beresp.http.Vary;
set beresp.http.Vary = "Accept-Encoding";
set beresp.http.Cache-Control = "no-cache, public,
must-revalidate";
unset beresp.http.Set-Cookie;
}