caching and hiding 302 redirects
rtshilston at gmail.com
Wed Sep 7 21:51:14 CEST 2011
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?
Take a look at https://www.varnish-cache.org/trac/ticket/411 - this
suggests putting a restart in vcl_deliver.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc