Closed szmarczak closed 4 years ago
https://github.com/szmarczak/http2-wrapper/blob/03f0b154c474e5766b055d5d6bb307af33ae97b1/source/client-request.js#L117-L119
Currently, when you make 100 requests at once, it will use additional 100 promises to trigger preconnect. It should check if a query is already pending, and not make another promise in that case.
Got rid of it, there's almost no improvement at all.
https://github.com/szmarczak/http2-wrapper/blob/03f0b154c474e5766b055d5d6bb307af33ae97b1/source/client-request.js#L117-L119
Currently, when you make 100 requests at once, it will use additional 100 promises to trigger preconnect. It should check if a query is already pending, and not make another promise in that case.