Re: Cache only some URLs

Shark <[email protected]>
Newsgroups gmane.comp.web.polipo.user
Message-ID <20111214182551.GA6682@fujiko>
On Sun, Dec 11, 2011 at 04:01:11PM +0100, Juliusz Chroboczek wrote:
> I think your best bet would be to write a proxy.pac file that makes your
> browser only use the proxy for some URLs.
> 
>   http://en.wikipedia.org/wiki/Proxy_auto-config#The_PAC_file

No, I was wrong, proxy.pac is not working properly with firefox+polipo.

My proxy.pac is the following

  function FindProxyForURL(url, host) {
  	if (shExpMatch(url, "*pps.jussieu.fr*")) {
  		return "PROXY 127.0.0.1:8123; DIRECT";
  	}
  
  	return "DIRECT";
  }

but the browser never contact the proxy :-(.

Are there any known issue wit this?

Thanks

------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.