[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PAC/WPAD with Iceweasel is horribly slow



Hi Ralf,

On Mo 25 Jun 2012 20:09:54 CEST RalfGesellensetter wrote:

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?

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


This feels as if you should check with your DNS provider for latency on DNS queries...

Mike



--

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0xB588399B
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

Attachment: pgpXcnSsK3qdN.pgp
Description: Digitale PGP-Unterschrift


Reply to: