Microsoft IIS 10.0 – Understanding HTTP/2

How to build a Docker Compose YAML files

In this recipe, we are going to understand HTTP/2. We will visit a few websites and check whether HTTP/2 is supported or not later in this chapter. We are going to see how we can check whether the website is running on HTTP/2 or HTTP/1.1.

Let’s cover this in detail.

Getting ready

To step through this recipe, you will need a running HTTP/2 website and internet connection.

How to do it…

  1. Open Internet Explorer on your Windows 10 PC or Server 2016; here, we are using a Windows 10 PC.
  2. Go to the address bar and type www.google.ae:
  1. Once you open www.google.ae, it will redirect to https://www.google.ae/. Now we have to check whether www.google.com uses HTTP/2 or HTTP/1.1.
  2. Hit F12. You can also do the same as the following step:

 

 

  1. Go to Settings and enable F12 Developer Tools; you will get DOM Explorer, Console, Debugger, Network, Performance, and Memory. Now you have to switch to the Network tab:
  1. Here, you will see that https://www.google.ae is using HTTP/2. Next, we will apply HTTP/2 settings on our IIS 10.0 server in order to use the HTTP/2 protocol.

How it works…

In this recipe, we launched the URL www.google.ae. The browser was automatically redirected to https://www.google.ae. Next, we tested for HTTP/2 through developer tools, which can be run through the F12 key, or can be enabled from the Settings menu.

Comments are closed.