couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Lothian <nickloth...@intelligentsoftware.com.au>
Subject Re: Retrieving pictures via browser - several times
Date Sun, 07 Nov 2010 22:53:17 GMT
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 <itlists@schrievkrom.de>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: []
>
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message