On 07/09/2011 20:41, Stroomer, Jeff wrote:
Varnish folks,
I’m trying to combine Varnish with a Tomcat servlet to make a fancy
reverse proxy. The idea is that Varnish forwards a URL to the
servlet, which uses a 302 redirect to tell Varnish what the “real” URL
should be. For this to work well I need Varnish to do two things: 1)
cache the 302 redirects from the servlet, and also 2) hide the
redirect from the client. It seems like I can get Varnish to do one
or the other, but not both simultaneously.
...
Any suggestions as to how I can cache the 302 response and also hide
the redirect from the client?
Jeff
Jeff,
Take a look at https://www.varnish-cache.org/trac/ticket/411 - this
suggests putting a restart in vcl_deliver.
Rob
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc