Sunday, 25 April 2021

How to check whether server supports HTTP/2 in JavaScript on browser

I'd like to know the way to check whether a server supports HTTP/2 in JavaScript in Browser. If possible, I would like to know the way without using an API server.

The reason to check is as follows.

  • In most browsers, HTTP/1 requests are limited to 6-8 concurrent requests.
  • To detect HTTP/2, and provide the number of requests properly


from How to check whether server supports HTTP/2 in JavaScript on browser

No comments:

Post a Comment