By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,646 Members | 1,175 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,646 IT Pros & Developers. It's quick & easy.

AJAX very slow on IE 7.0

P: n/a
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

Apr 1 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Sun, 01 Apr 2007 12:31:00 +0200, cold80 <co****@libero.itwrote:
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.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Apr 1 '07 #2

P: n/a
On 1 Apr, 13:16, OmegaJunior <omegajun...@spamremove.omegajunior.net>
wrote:
On Sun, 01 Apr 2007 12:31:00 +0200, cold80 <col...@libero.itwrote:
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.

--
Using Opera's revolutionary e-mail client:http://www.opera.com/mail/- Nascondi testo tra virgolette -

- Mostra testo tra virgolette -
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...

Apr 1 '07 #3

P: n/a
Is it because the server response is slow?
>From my experience deploying phpFreechat, the AJAX stalled because of
the server overloaded

Regards,
Hardono Arifanto
-----------------------
http://sodeve.net

Apr 2 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.