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
