我的Web应用程序在IE浏览器中加载速度慢。试图用Fiddler测试 - 我们发现ClientBeginRequest和ClientDoneRequest之间有很长的延迟请参考下面的fiddler测试输出 -
ClientConnected: 08:04:22.609
**ClientBeginRequest: 08:04:23.841**
GotRequestHeaders: 08:04:23.841
**ClientDoneRequest: 08:04:26.781**
Determine Gateway: 0ms
DNS Lookup: 0ms
TCP/IP Connect: 0ms
HTTPS Handshake: 0ms
ServerConnected: 08:04:22.618
FiddlerBeginRequest: 08:04:26.781
ServerGotRequest: 08:04:26.781
ServerBeginResponse: 08:04:26.904
GotResponseHeaders: 08:04:26.904
ServerDoneResponse: 08:04:26.904
ClientBeginResponse: 08:04:26.904
ClientDoneResponse: 08:04:26.904
Overall Elapsed: 0:00:03.063
在IE F12控制台中也可以看到“开始时间”
为什么IE浏览器中ClientBeginRequest和ClientDoneRequest之间存在长时间的延迟以及如何改善这一点,与Chrome结果相比,总体经过时间非常长(参见下文)。
谷歌浏览器: -
ClientConnected: 08:03:38.089
ClientBeginRequest: 08:03:39.186
GotRequestHeaders: 08:03:39.186
ClientDoneRequest: 08:03:39.186
Determine Gateway: 0ms
DNS Lookup: 0ms
TCP/IP Connect: 0ms
HTTPS Handshake: 0ms
ServerConnected: 08:03:38.097
FiddlerBeginRequest: 08:03:39.187
ServerGotRequest: 08:03:39.187
ServerBeginResponse: 08:03:39.186
GotResponseHeaders: 08:03:39.350
ServerDoneResponse: 08:03:39.350
ClientBeginResponse: 08:03:39.350
ClientDoneResponse: 08:03:39.350