Cache-control: no-cache

Jacob Elder jelder at
Mon Dec 13 17:55:16 CET 2010

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") {

Jacob Elder
(646) 535-3379
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list