Re: PAC/WPAD with Iceweasel is horribly slow
- To: debian-edu@lists.debian.org
- Subject: Re: PAC/WPAD with Iceweasel is horribly slow
- From: RalfGesellensetter <rgx@gmx.de>
- Date: Mon, 25 Jun 2012 20:09:54 +0200
- Message-id: <[🔎] 201206252009.55458.rgx@gmx.de>
- In-reply-to: <20120202175731.GB1254@login1.uio.no>
- References: <20120202141120.GN3857@login1.uio.no> <20120202175731.GB1254@login1.uio.no>
Dear Petter, dear list,
this bug was reported to firefox BTS years ago, and is still there.
https://bugzilla.mozilla.org/show_bug.cgi?id=235853#c260
With Firefox 11 or later (Windows WS), colleagues experience
regular timeouts. Well, I will try to use your alternative syntax,
and then, we have to discuss alternatives (or contribute a patch).
Kind regards
Ralf
Am Donnerstag, 2. Februar 2012 schrieb Petter Reinholdtsen:
> [Petter Reinholdtsen]
> > By moving away /etc/debian-edu/www/wpad.dat on the main server, the
> > browser stop using the squid proxy and become responsive. The
> > problem is with DNS lookups and wpad handling in Firefox, which
> > block the entire browser.
>
> The current wpad.dat look like this:
>
> function FindProxyForURL(url, host)
> {
> if (!isResolvable(host) ||
> isPlainHostName(host) ||
> dnsDomainIs(host, ".intern"))
> return "DIRECT";
> else
> return "PROXY webcache:3128; DIRECT";
> }
>
> The browser seem to become quicker by changing this to a simpler one:
>
> function FindProxyForURL(url, host)
> {
> return "PROXY webcache:3128; DIRECT";
> }
>
> Can you test if this help for you too? Replace the file
> /etc/debian-edu/www/wpad.dat with this simpler one, and see if it work
> as you want it to. Is it a problem to use the proxy for everything,
> also for non-resolvable addresses and for local addresses?
>
Reply to: