IIRC, no it won't because it's a pass, so the new object won't enter the cache at all.
-- Guillaume Quintard On Thu, May 11, 2017 at 4:40 PM, Nigel Peck <[email protected]> wrote: > > Hi, > > I'm wondering what happens with requests that were marked return(pass) by > vcl_recv, when they get to vcl_backend_response. If I do the following: > > set beresp.http.Cache-Control = "private, max-age=0, no-cache, no-store"; > set beresp.http.Expires = "Mon, 01 Jan 2001 00:00:00 GMT"; > set beresp.ttl = 120s; > set beresp.uncacheable = true; > return (deliver); > > Is that going to mark them hit-for-pass? Or can they not be cached in any > way now? (even hit for pass) Is the "uncacheable" redundant because they > were already marked for pass? > > I would appreciate any further info on this. > > Thanks > Nigel > > _______________________________________________ > varnish-misc mailing list > [email protected] > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc >
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
