Thanks Dridi. One more doubt will the pass urls be counted as miss in the
varnish cache miss counter?
On May 19, 2016 7:08 PM, "Dridi Boukelmoune" <[email protected]> wrote:

> On Thu, May 19, 2016 at 2:55 PM, Debraj Manna <[email protected]>
> wrote:
> > Can you please explain a bit more what advantage I will have by using
> > return(pass). Are you saying if I use return(pipe) then the client's
> > subsequent request will start getting 404 Error?
>
> No, I mean that subsequent requests without "Type: p" on the same
> connection won't be seen by Varnish, they will go directly to the
> backend.
>
> >  My intention is if the header req.http.Type == "p" then i want to treat
> as
> > if varnish is not present for those requests and the request going
> straight
> > to backend.
>
> I understand that, and return(pass) will send the request to the
> backend, but return(pipe) will send the whole connection to the
> backend.
>
> Dridi
>
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to