logo       

dontCacheRedirects isn't reliable: msg#00016

web.polipo.user

Subject: dontCacheRedirects isn't reliable

Hi,

I tried a snapshot of the darcs repository, and found that
dontCacheRedirects only works for the duration of Polipo's execution
that saw the first request for some redirecting resource. (I haven't
tried SIGUSR1/SIGUSR2.)

To reproduce, enable dontCacheRedirects, choose a URI that redirects
(e.g. http://ely.ath.cx/~piranha/redirect-302), and ensure that an
object hasn't been cached for this URI. Ask for it, and you'll see
Polipo doesn't cache the result during that session. It does write
the result to disk, though. Restart Polipo and it will consistently
use that last cached result.

--
J.P. Larocque: <piranha@xxxxxxxxxxxxxxx>, <piranha@xxxxxxxxxx>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise