Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why ASP.NET pages render faster on IE than Chrome or FF?

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 !
like image 316
FearUs Avatar asked Mar 01 '11 08:03

FearUs


1 Answers

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
like image 188
šljaker Avatar answered Sep 28 '22 05:09

šljaker