caching and hiding 302 redirects
Rob S
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?
>
> Jeff
>
Jeff,
Take a look at https://www.varnish-cache.org/trac/ticket/411 - this
suggests putting a restart in vcl_deliver.
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110907/d0207f2a/attachment-0003.html>
More information about the varnish-misc
mailing list