[Greasemonkey] RE: Perform GM_xmlhttpRequests in parallel?

Lenny Domnitser ldrhcp at gmail.com
Sun Oct 1 20:47:28 EDT 2006


On 10/1/06, Edward Hibbert <Edward.Hibbert at dataconnection.com> wrote:
> I understand that the requests complete asynchronously, and the call
> returns straight away.  But they still seem to complete sequentially in
> the background, or pretty much sequentially, if I monitor them using the
> Tamper extension.
> This may be a question of tuning the Firefox network.http.* config,
> perhaps?  But I've tried suggestions like those in
> http://www.freerepublic.com/focus/f-news/1299854/posts, without much
> effect.

GM_xmlhttpRequests are definitely not sequential on their own, but
you're right that the network.http.* options may cause them to behave
that way. Probably the most important one is network.http.pipelining,
which, when set, will send a second HTTP request on a single
keep-alive connection before the response for the first one is
received (or something like that).


More information about the Greasemonkey mailing list