jech / polipo

The Polipo caching HTTP proxy
http://www.pps.jussieu.fr/~jch/software/polipo/
MIT License
1.81k stars 355 forks source link

RFE: fetch next time when online #31

Closed leggewie closed 10 years ago

leggewie commented 10 years ago

One of the things I loved in WWWOFFLE was the ability to surf in offline mode and have it ask if uncached and thus unavailable items should be fetched next time the program was online. It would be nice to see similar functionality in polipo.

jech commented 10 years ago

This should not be done within Polipo -- it should be done by a utility external to Polipo.

A simple way is to use curl or wget:

http_proxy=http://localhost:8123 curl -H 'Pragma:' http://www.pps.univ-paris-diderot.fr/

If you write a more extensive set of scripts to do that, or perhaps a browser extension, I'll be glad to link to it from the Polipo webpage.

leggewie commented 10 years ago

Thank you for the quick reply.

I agree with the general notion prominent in Linux to keep things simple and modular. One tool, one job. At the same time, I am not sure we understand each other yet. I fail to see how curl or wget would deal with the time-shift that WWWOFFLE dealt with. Have you ever used this function in WWWOFFLE personally? I'm not yet convinced that polipo isn't the proper place to implement this functionality.

leggewie commented 9 years ago

@jech, let's please continue to discuss this RFE. I am not sure you understood my request here.

jech commented 9 years ago

Could we perhaps move the discussion to the mailing list?

leggewie commented 9 years ago

On 15.07.2015 06:03, Juliusz Chroboczek wrote:

Could we perhaps move the discussion to the mailing list?

@jech: I had tried to to that and got no response half a year ago.

http://permalink.gmane.org/gmane.comp.web.polipo.user/3342

leggewie commented 9 years ago

@jech I will reopen this ticket as new to make sure it's on the radar and we have a chance to properly discuss it.

leggewie commented 9 years ago

I've opened #67 now. I'm happy to discuss this on the ML instead if that is your preference.