How to make Varnish not caching response if they do not have proper cache header?

Ryan Chan ryanchan404 at gmail.com
Sun Mar 25 05:15:47 CEST 2012


Seems *Varnish* is caching too aggressively, e.g. I have a *index.php* does
not send out *last-modifieid*,*cache-control*, Varnish still cache it.

my default.vcl

backend default {
    .host = "127.0.0.1";
    .port = "8080";
}

Is it possible to turn off this strange behaviors?



Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120325/6ae950a2/attachment.html>


More information about the varnish-misc mailing list