Kyojimaru
Kyojimaru

Reputation: 2724

Azure Website Connection Keep-Alive

I was using Windows Azure Website to host my website.

  1. I want to enable Connection: Keep-Alive in my website, how to enable it for my website?
  2. How to check whether I have successfully enabled it on my website?
  3. How to set the timeout for the Connection: Keep-Alive and how to determine the best value for the timeout

My server is Windows and using IIS

Upvotes: 7

Views: 10283

Answers (1)

Lybecker
Lybecker

Reputation: 628

You can set most of the configuration options for IIS 8 in Azure Web Sites too. To enable keep-alive, add the following section in the web.config

<configuration>
  <system.webServer>
    <httpProtocol allowKeepAlive="true" />
  </system.webServer>
</configuration>

Upvotes: 8

Related Questions