From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ey0-f171.google.com (mail-ey0-f171.google.com [209.85.215.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 1BD25200994 for ; Wed, 22 Aug 2012 12:23:41 -0700 (PDT) Received: by eaah11 with SMTP id h11so738323eaa.16 for ; Wed, 22 Aug 2012 12:23:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=FuvuwAdU1aWJfWAJooVJheqXYV4bv83/Bl6D09uAf/Y=; b=TqAhuy2TA9osuOQNq/pFYwOUeqo7SA0KcydhDFLFM2MEc+tkZsoaRFgrSqFSbwHT/s RdXDcg89EToWZfZ4btORk2+ClYO2IMypNujOAVQRALF313KZH0OMvaiW0PgZzwWR0o0N 7EwWQm13Yt9ctD8yQTH7rJp0lbGhEhF1G+8/uRx//XNprHBNs/nSqIrp/UqnTAh7SrH1 W9FINghhWtz0m3u/YcUf4naHuUdM39JZiRPkJSOHVCXLoKZzt4+DWie403P0Gg7o0GP0 qfCDXCOe3kPY7IesS9LkWtWkT1cAyKgzQnenq4+HiywA4T5XCsKJTN614sp8GojFhs/m yDYA== MIME-Version: 1.0 Received: by 10.14.175.7 with SMTP id y7mr19619332eel.29.1345663420030; Wed, 22 Aug 2012 12:23:40 -0700 (PDT) Received: by 10.14.1.3 with HTTP; Wed, 22 Aug 2012 12:23:39 -0700 (PDT) In-Reply-To: References: <36D61FDC-9AA9-46CC-ACBB-2D28B250C660@gmx.de> <2998C331-777B-41B3-A6BC-8285461EF729@gmx.de> <1345516397.664231592@apps.rackspace.com> <1345659822.690830074@apps.rackspace.com> Date: Wed, 22 Aug 2012 12:23:39 -0700 Message-ID: From: Kenneth Finnegan To: Dave Taht , cerowrt-devel@lists.bufferbloat.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Cerowrt-devel] cerowrt 3.3.8-17 is released X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2012 19:23:42 -0000 On Wed, Aug 22, 2012 at 11:54 AM, Dave Taht wrote: > and disabling or dropping the underused polipo proxy - > I think the proxy being under-used could be fixed if we had CeroWRT optionally advertise wpad when you start Polipo. When enabled, we would just need the router to resolve wpad.local.domain the same as gw.local.domain, and serve a gw.local.domain:80/wpad.dat file containing something like: function FindProxyForURL(url, host){ if (isInNet(host, "172.30.42.0", "255.255.255.0")) { return "DIRECT"; } return "PROXY gw.local.domain:3128; DIRECT"; } WPAD is really how the proxy-on-a-LAN experience should be. The HUGE issue with WPAD is that browsers (at least Firefox) switch to resolving all DNS queries synchronously instead of async when they detect a wpad configured network. Any gains from caching what little web content is (advertised) as cacheable are lost many times over when every DNS request causes the Firefox UI to FREEZE. Hit a page with several different domains on it (and what websites don't make you resolve analytics.google.com, twitter.com, plus.google.com, digg.com, reddit.com, etc etc) and the entire Firefox GUI locks up for several seconds. https://bugzilla.mozilla.org/show_bug.cgi?id=769764 Just some food for thought. I would agree that in the face of memory pressure, it should be one of the first things to go; the vast majority of web servers aren't even configured correctly to mark cacheable content, so caching is usually force by writing pattern-matching rules which over-ride the (non-existent) caching meta-data. Kenneth Finnegan blog.thelifeofkenneth.com