AJAX very slow on IE 7.0

C

cold80

I was just doing a performance test in order to see the benefit of
using AJAX instead of doing a postback on the server. So I have a
simple page that performs a request to the server and write a counter
on the page when it receives the response from the server. I'm not
changing the page actually, so the browser don't have to modify the
internal DOM and to render the changes. I tried this simple page with
IE 7.0, Firefox 2.0 and Opera 9.10. FF and Opera are very fast. IE is
very, very fast if the server is my local web server (IIS 5.1 on
Windows XP), but if I try to host the page in a different server on
the lan (always IIS 5.1 on Windows XP) it becames very slow. FF and
Opera don't seem to be affected by the same problem, they behave more
or less the same way in both the servers. What can it be? What can be
the big difference between a local call and a remote call for IE 7.0
(even if the remote call actually is to a server in the same lan...)?

Thank you in advance

Cold
 
O

OmegaJunior

I was just doing a performance test in order to see the benefit of
using AJAX instead of doing a postback on the server. So I have a
simple page that performs a request to the server and write a counter
on the page when it receives the response from the server. I'm not
changing the page actually, so the browser don't have to modify the
internal DOM and to render the changes. I tried this simple page with
IE 7.0, Firefox 2.0 and Opera 9.10. FF and Opera are very fast. IE is
very, very fast if the server is my local web server (IIS 5.1 on
Windows XP), but if I try to host the page in a different server on
the lan (always IIS 5.1 on Windows XP) it becames very slow. FF and
Opera don't seem to be affected by the same problem, they behave more
or less the same way in both the servers. What can it be? What can be
the big difference between a local call and a remote call for IE 7.0
(even if the remote call actually is to a server in the same lan...)?

Thank you in advance

Cold

MSIE7 performs extra security checks, especially when the main page and
the ajaxed data are on different servers. There should be an option to
turn it off, though.
 
C

cold80

MSIE7 performs extra security checks, especially when the main page and
the ajaxed data are on different servers. There should be an option to
turn it off, though.

Actually the main page and the one called by the XMLHTTPRequest object
are on the same web site, so I think these checks are not going to be
performed. On a post I found a person that was saying the new
Javascript object used on IE7 is slower than the ActiveX version, so I
tried to disable that version. But, even using the ActiveX object, IE
7 is very slow...
 
H

Hardono Arifanto

Is it because the server response is slow?
From my experience deploying phpFreechat, the AJAX stalled because of
the server overloaded

Regards,
Hardono Arifanto
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,740
Latest member
JudsonFrie

Latest Threads

Top