Yep, that is too late in the process. Is the reason for the call to vcl_miss exposed? This would allow vcl_miss to set an extra bereq. Or is there a way to see which stats counters are updated by lookup?
Thank you, Arjen On 14 dec. 2011, at 13:46, Hugo Cisneiros (Eitch) wrote: > On Sun, Dec 11, 2011 at 11:47 PM, AD <[email protected]> wrote: >> you should be able to add a req.http.header in your vcl_fetch. I dont >> believe vcl_fetch gets called unless you are in a cache_miss and you need to >> contact the backend. > > In vcl_fetch varnish already contacted the backend and fetched the > answer. This is why beresp.* variable is already there. You can add > headers before the backend request on vcl_miss or vcl_hit (in your > case, vcl_miss). > > -- > []'s > Hugo > www.devin.com.br > > _______________________________________________ > 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
