WebPagetest Forums
Wrong(?) order of http/2 requests to the same server that start at the same time - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: Wrong(?) order of http/2 requests to the same server that start at the same time (/showthread.php?tid=15542)



Wrong(?) order of http/2 requests to the same server that start at the same time - jakub - 11-07-2018 09:12 PM

I've noticed that sometimes WPT waterfall shows requests in the order that does not seem to be the order in which the requests are issued by the browser.

For example here:

https://www.webpagetest.org/result/181107_TX_ca20875fbd56063fae4a8ba34274ef65/5/details/#waterfall_view_step1

Item 2 in waterfall is HTTP/2 Stream: 7 (as you can see response comes last)
Item 3 in waterfall is HTTP/2 Stream: 3
Item 4 in waterfall is HTTP/2 Stream: 1 (as you can see it is the only one with DNS+TCP+TLS before)
Item 5 in waterfall is HTTP/2 Stream: 5

They all have the same request start time (coming from <link rel=preload>) and this is probably why -- AFAIU requests are sorted by start time, but if multiple start at the same time, they get wrongly shuffled.