Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 34637 invoked from network); 7 Nov 2010 22:53:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Nov 2010 22:53:16 -0000 Received: (qmail 97706 invoked by uid 500); 7 Nov 2010 22:53:46 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 97624 invoked by uid 500); 7 Nov 2010 22:53:46 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 97615 invoked by uid 99); 7 Nov 2010 22:53:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Nov 2010 22:53:46 +0000 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of nicklothian@intelligentsoftware.com.au does not designate 209.85.161.52 as permitted sender) Received: from [209.85.161.52] (HELO mail-fx0-f52.google.com) (209.85.161.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Nov 2010 22:53:38 +0000 Received: by fxm12 with SMTP id 12so3516774fxm.11 for ; Sun, 07 Nov 2010 14:53:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.72.207 with SMTP id n15mr3074053faj.46.1289170397132; Sun, 07 Nov 2010 14:53:17 -0800 (PST) Received: by 10.223.114.148 with HTTP; Sun, 7 Nov 2010 14:53:17 -0800 (PST) In-Reply-To: <4CD3B9A0.4070609@schrievkrom.de> References: <4CD3B9A0.4070609@schrievkrom.de> Date: Mon, 8 Nov 2010 09:23:17 +1030 Message-ID: Subject: Re: Retrieving pictures via browser - several times From: Nick Lothian To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=20cf30433c7e9377f104947e5f4a X-Virus-Checked: Checked by ClamAV on apache.org --20cf30433c7e9377f104947e5f4a Content-Type: text/plain; charset=ISO-8859-1 I've heard of this before, and people were claiming it was due to Firefox HTTP 1.1 pipelining. Allegedly Firefox will open multiple connections to speed up downloads - even for the same resource. I find this surprising, but it's a possibility you could look into. I think you could test this by disabling HTTP pipelining (about:config, then look for network.http.pipelining) Nick On Fri, Nov 5, 2010 at 6:30 PM, Marten Feldtmann wrote: > Hello, > > I've a link to a picture located as an attachment within couchDB. > > The link looks like ... > > > http://127.0.0.1:5984/esinfosystem/NW10-2010101-VsVotesResult-90506-AZ-EN-ZS-0509191430/image_full_WDR2009.jpg > > When I get this document via Firefox the picture is retrieved 3 times ! > I've deactivated all extensions > within Firefox. When executing the link from Opera or IE the picture is > only retrieved ONE time. > > Any ideas !? > > Marten Feldtmann > > > Debug Information from couchDB when retrieving picture via Firefox: > > [debug] [<0.3256.0>] 'GET' > /esinfosystem/NW10-2010101-VsVotesResult-90506-AZ-EN-ZS-0509191430/image_full_WDR2009.jpg > {1, > > 1} > Headers: > [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"}, > {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"}, > {'Accept-Encoding',"gzip,deflate"}, > {'Accept-Language',"de-de,de;q=0.8,en-us;q=0.5,en;q=0.3"}, > {'Connection',"keep-alive"}, > {'Host',"127.0.0.1:5984"}, > {'Keep-Alive',"115"}, > {'User-Agent',"Mozilla/5.0 (Windows; U; Windows NT 6.1; de; > rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12"}] > [debug] [<0.3256.0>] OAuth Params: [] > [info] [<0.3256.0>] 127.0.0.1 - - 'GET' > /esinfosystem/NW10-2010101-VsVotesResult-90506-AZ-EN-ZS-0509191430/image_full_WDR2009.jpg > 200 > [debug] [<0.3256.0>] 'GET' > /esinfosystem/NW10-2010101-VsVotesResult-90506-AZ-EN-ZS-0509191430/image_full_WDR2009.jpg > {1, > > 1} > Headers: [{'Accept',"image/png,image/*;q=0.8,*/*;q=0.5"}, > {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"}, > {'Accept-Encoding',"gzip,deflate"}, > {'Accept-Language',"de-de,de;q=0.8,en-us;q=0.5,en;q=0.3"}, > {'Connection',"keep-alive"}, > {'Host',"127.0.0.1:5984"}, > {'Keep-Alive',"115"}, > {'User-Agent',"Mozilla/5.0 (Windows; U; Windows NT 6.1; de; > rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12"}] > [debug] [<0.3314.0>] 'GET' > /esinfosystem/NW10-2010101-VsVotesResult-90506-AZ-EN-ZS-0509191430/image_full_WDR2009.jpg > {1, > > 1} > Headers: > [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"}, > {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"}, > {'Accept-Encoding',"gzip,deflate"}, > {'Accept-Language',"de-de,de;q=0.8,en-us;q=0.5,en;q=0.3"}, > {'Connection',"keep-alive"}, > {'Host',"127.0.0.1:5984"}, > {'Keep-Alive',"115"}, > {'User-Agent',"Mozilla/5.0 (Windows; U; Windows NT 6.1; de; > rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12"}] > [debug] [<0.3256.0>] OAuth Params: [] > [debug] [<0.3314.0>] OAuth Params: [] > [info] [<0.3256.0>] 127.0.0.1 - - 'GET' > /esinfosystem/NW10-2010101-VsVotesResult-90506-AZ-EN-ZS-0509191430/image_full_WDR2009.jpg > 200 > [info] [<0.3314.0>] 127.0.0.1 - - 'GET' > /esinfosystem/NW10-2010101-VsVotesResult-90506-AZ-EN-ZS-0509191430/image_full_WDR2009.jpg > 200 > > Debug information from couchDB when retrieving picture via IE9 or Opera: > > [debug] [<0.3498.0>] 'GET' > /esinfosystem/NW10-2010101-VsVotesResult-90506-AZ-EN-ZS-0509191430/image_full_WDR2009.jpg > {1, > > 0} > Headers: [{'Accept',"text/html, application/xhtml+xml, */*"}, > {'Accept-Language',"de-DE"}, > {'Connection',"Keep-Alive"}, > {'Host',"127.0.0.1:5984"}, > {'User-Agent',"Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; > WOW64; Trident/5.0)"}] > [debug] [<0.3498.0>] OAuth Params: [] > [info] [<0.3498.0>] 127.0.0.1 - - 'GET' > /esinfosystem/NW10-2010101-VsVotesResult-90506-AZ-EN-ZS-0509191430/image_full_WDR2009.jpg > 200 > [debug] [<0.3500.0>] 'GET' /favicon.ico {1,0} > Headers: [{'Accept',"*/*"}, > {'Connection',"Keep-Alive"}, > {'Host',"127.0.0.1:5984"}, > {'User-Agent',"Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; > WOW64; Trident/5.0)"}] > [debug] [<0.3500.0>] OAuth Params: [] > > > > > --20cf30433c7e9377f104947e5f4a--