I'm using Polipo to test an application that needs to retrieve web pages. The idea is that I build up a database by running the application with Polipo as a proxy in online mode, then back up the disk cache. When I want to run a test, I just copy over the saved cache files and re-run with Polipo in offline mode. That gets me a fixed data set of pages to work with (and saves me from constantly re-spidering sites when I'm testing)
Polipo _almost_ works for this. (It certainly comes a lot closer then Squid), but it looks like there's no way to disable Polipo honoring certain cache control headers (even if relaxTransparency etc. are set). I ended up changing the source to just completely zero out the cache_control struct after every call to httpParseHeaders, and that's fine for my purposes, but I was wondering: - Should I be able to do this without modifying the source? - Does anyone else have a need for such a thing? (In which case I could clean up the changes and offer them as a patch) -cks -- Christopher St. John http://artofsystems.blogspot.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Polipo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/polipo-users
