TIP
💡 Learn more : App Service Documentation (opens new window).
# Enable HTTP/2.0 support for Azure App Service
Azure has recently rolled out the ability for you to switch any app service to use HTTP/2.0 Support. It really is as easy as toggling a field in Azure Resource Manager, but first why should you care about HTTP/2.0?
HTTP/2 supports queries multiplexing, headers compression, priority and more intelligent packet streaming management. All of this results in reduced latency and accelerates content download on modern web pages which you should be writing now. 😃 If you want more details, then this source (opens new window) is the one that I personally trust.
# Getting Started
Before you go to the Azure Portal, take your *.azurewebsites.net url and test it here (opens new window). It will quickly tell you whether or not your site supports HTTP/2.0. The reason that I want to start with this site is because in the future HTTP/2.0 will be automatically enabled on future *.azurewebsites.net urls.
Switch over to the Azure Portal now and click on App Service and then your existing site. Now click on Resource Explorer as shown below.
It should navigate you to Azure Resource Explorer (Preview) and you'll just need to click on config and then web.
Click on Read/Write, then toggle "http20Enabled": false
to "http20Enabled": true
and click Put.
Now you can go back to our HTTP/2.0 testing tool (opens new window) and input your *.azurewebsites.net url. I tested mine and received the following: