为什么ASP.NET页面上呈现IE浏览器的速度比Chrome或FF? [英] Why ASP.NET pages render faster on IE than Chrome or FF?

查看:153
本文介绍了为什么ASP.NET页面上呈现IE浏览器的速度比Chrome或FF?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么ASP.NET页面呈现在Chrome的时间和FF是〜3倍的渲染时间上的IE浏览器?
这个问题只能坚持我的本地机器上,但在发布到真实服务器的完全相反的情况(预计,随着FF和Chrome超越IE)。



我试过的Windows 7 x64和Windows XP x86的与FF 3.6,Chrome浏览器9和IE 8。



有什么事我可以在IIS或web配置做?解决这个问题。



修改:为响应的反应的domments:




  1. 我的运行PHP + APACHE,或JSP时遇到这些问题

  2. 我注意到在做VS或在IIS上部署

  3. 调试会话时修改hosts文件这种行为的没有提高Chrome和FF的响应时间确实,但仍比IE慢!


解决方案

要解决这个问题,试装127.0.0.1而不是本地主机。您也可以明确地B检查位于第以下位置本地主机映射在你的主机文件为127.0.0.1
$ B $:




%SYSTEMROOT%\system32\drivers\etc\hosts




然后,你需要添加以下行:

  127.0.0.1本地主机


Why does ASP.NET pages render time on Chrome and FF is ~ 3X the render time on IE ?? This problem only persist on my local machine, but when published to the real server the complete opposite happens (expected, as FF and Chrome outperform IE).

I tried Windows 7 x64 and Windows XP x86 with FF 3.6, Chrome 9, and IE 8.

Is there any thing I can do on IIS or in the web config to fix this behavior ?

EDIT: In response to the responses an domments:

  1. I don't have these issues when running PHP + apache, or JSP
  2. I noticed this behavior when doing a debugging session in VS or after deploying on IIS
  3. Modifying the hosts file did improve Chrome and FF response time indeed, but still slower than IE !

解决方案

To solve the problem, try loading 127.0.0.1 instead of localhost. You can also explicitly map localhost to 127.0.0.1 in your host file.
It's located on the following location:

%systemroot%\system32\drivers\etc\hosts

Then you need to add the following line:

127.0.0.1 localhost

这篇关于为什么ASP.NET页面上呈现IE浏览器的速度比Chrome或FF?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆