Hi

I have problems with the following vcl-script:

        if(req.http.Cache-Control == "max-age=0") {
                set obj.ttl = 0s;
                pass;
        }

With this snippet in vcl-hit EVERY obj will get fetched (if there is
a Cache-Control header or not). Even when I change the code to

        if(req.http.Cache-Control == "thiscanbeneverfound") {
                set obj.ttl = 0s;
                pass;
        }

EVERY obj is fetched from the backend.

Is this a bug or am I doing something wrong?

Denis

_______________________________________________
varnish-dev mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-dev

Reply via email to