Hiding internal backend requests
Darvin Denmian
darvin.denmian at gmail.com
Thu Jun 14 00:26:35 CEST 2012
Hi,
That is my scenario:
1) Varnish (172.16.217.131:80), receives a request from a client, i.e:
http://172.16.217.131:80/a.png
2) Request is forwarded to the Default Backend (127.0.0.1:8000)
3) Default backend receive the request and process it
4) That processing results in a new URL, i.e:
http://172.16.217.132:80/a.png (**As you can see the IP has changed)
5) 172.16.217.132:80 is another backend in Varnish's config file
6) The new URL points to a resource that should be provided by Varnish
(that resource generally is an image)
My problem is: The client needs to execute 2 GETs to obtain the image.
My question: How can I configure varnish to internally receive the
response from the first backend(127.0.0.1:8000), and fetch data from
the second backend (172.16.217.132:80), and after that, send the data
to the client?
Thanks.
More information about the varnish-misc
mailing list