Stuart, I think 60 minutes is too much time even for Varnish to wait.<br>In default configuration Varnish would wait only for, if I remember, 60 seconds and then give up on that request.<br><br>This can be tuned with -p params, like "<span class="s">first_byte_timeout</span>". You can read more here:<br>
<br><a href="http://varnish.projects.linpro.no/browser/trunk/varnish-cache/bin/varnishd/mgt_param.c">http://varnish.projects.linpro.no/browser/trunk/varnish-cache/bin/varnishd/mgt_param.c</a><br><br>Best Regards,<br><br><div class="gmail_quote">
On Sun, Aug 30, 2009 at 10:11 PM, stuart yeates <span dir="ltr"><<a href="mailto:stuart.yeates@vuw.ac.nz">stuart.yeates@vuw.ac.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello<br>
<br>
I'm looking to use varnish in front of an XSLT/PostgreSQL/Tomcat/Java<br>
site and have a question about varnish's behaviour when a client drops a<br>
connection.<br>
<br>
The problem is that there are a relatively small number of pages which<br>
are _very_ slow to generate (>60 minutes) and a large number that are<br>
relatively fast. Clients tend to abort the slow pages, so (using our<br>
current reverse proxy) they never make it into the cache.<br>
<br>
Ideally I'd like to make varnish continue the request and cache the<br>
result. Is that possible?<br>
<br>
Is there a way to make these slow-to-generate pages have a much longer<br>
cache-time?<br>
<br>
cheers<br>
stuart<br>
<font color="#888888"><br>
--<br>
Stuart Yeates<br>
<a href="http://www.nzetc.org/" target="_blank">http://www.nzetc.org/</a> New Zealand Electronic Text Centre<br>
<a href="http://researcharchive.vuw.ac.nz/" target="_blank">http://researcharchive.vuw.ac.nz/</a> Institutional Repository<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@projects.linpro.no">varnish-misc@projects.linpro.no</a><br>
<a href="http://projects.linpro.no/mailman/listinfo/varnish-misc" target="_blank">http://projects.linpro.no/mailman/listinfo/varnish-misc</a><br>
</font></blockquote></div><br><br>-- <br>Rogério Schneider<br><br>MSN: <a href="mailto:stockrt@hotmail.com">stockrt@hotmail.com</a><br>GTalk: <a href="mailto:stockrt@gmail.com">stockrt@gmail.com</a><br>TerraVoip: stockrt<br>
Skype: stockrt<br><a href="http://stockrt.github.com">http://stockrt.github.com</a><br>