Re: PAC/WPAD with Iceweasel is horribly slow
[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?
--
Happy hacking
Petter Reinholdtsen
Reply to: