h5bp / server-configs-iis

IIS Web.Config Boilerplates
MIT License
336 stars 84 forks source link

Keep-Alive #29

Closed AaronLayton closed 8 years ago

AaronLayton commented 8 years ago

Should these have the Keep-Alive attribute?

<httpProtocol allowKeepAlive="true">
ChrisMcKee commented 8 years ago

Technically no, standard 'wanted' behaviour for most sites is true; and true is default :)

Specifies whether keep-alive processing is permitted (true) or not (false).

The default value is true.

https://www.iis.net/configreference/system.webserver/httpprotocol

If you think it should be added with a note I'll happily put that in the doover of the configs im working on (just waiting on .net 5)

AaronLayton commented 8 years ago

Ah so only need to specify the true if its been turned off by the server admins?

ChrisMcKee commented 8 years ago

@AaronLayton yeah you can change the defaults at server level in IIS manager; it would be odd to disable it by default but there's always some well meaning fool :) As above I'll probably add it in with some notes. Out of interest what version of IIS are you using (trying to gauge use).

AaronLayton commented 8 years ago

using IIS 7.5 ;-)

On 18 January 2016 at 09:23, Chris McKee notifications@github.com wrote:

@AaronLayton https://github.com/AaronLayton yeah you can change the defaults at server level in IIS manager; it would be odd to disable it by default but there's always some well meaning fool :) As above I'll probably add it in with some notes. Out of interest what version of IIS are you using (trying to gauge use).

— Reply to this email directly or view it on GitHub https://github.com/h5bp/server-configs-iis/issues/29#issuecomment-172472968 .

ChrisMcKee commented 8 years ago

Ta :+1: