When analyzing traffic from a web application such as CRM you may notice that many of the requests result in a 401 (Access Denied) before they get the 200 Success response. This is a normal authentication sequence for Kerberos or NTLM. Internet Explorer will first attempt anonymous access before any type of authentication attempts.
Some of the static objects such as graphics will allow anonymous access so the request immediately gets a 200 response. Other objects such as ASPX pages require authentication before the content is returned. In that case we have two round-trips before we get our data. This can result in many extra round trips to load an entire page. If the users are on a WAN or if there is high latency on the network the performance may be impacted. On some custom pages I have seen one 401 for every 200 which doubled the round-trips to load page.
IIS 6.0 and IIS 7.0 require the client to be reauthenticated for each HTTP request. This behavior causes network traffic to increase. The following KB articles describe fixes you can apply to change this behavior. When the fix is applied the client will authenticate on the first request and then remain authenticated for the remaining requests in that HTTP Keep-Alive session. This can greatly decrease the round-trips and amount of data being transferred.
In the following example the customer had a custom page displayed on their contact form. After applying the fixes the total round-trips decreased by 40%. Each environment is a little bit different, but there may be some performance gains found by testing these fixes.
Sample Results after Applying Changes from the KB:
Request Count: 126
Request Count: 76
Please leave a comment if you found this post helpful.
Microsoft Premier Field Engineer
Another benefit , if you turn on anonymous auth on static content.
On IIS 7.x these would be automatically cache in Kernel mode on RAM.
Expect faster response ,304 in IIS logs