Just posting this so it will make it into the mailing list archives, and
hopefully spark a discussion:

The default Varnish config does not honor "no-cache" in Cache-control
headers. It is my personal opinion that it should, but it's easy enough to
add this behavior if desired.

sub vcl_fetch {
    if (beresp.http.cache-control ~ "no-cache") {
        return(pass);
    }
}

-- 
Jacob Elder
@jelder
(646) 535-3379
_______________________________________________
varnish-misc mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to