473,320 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

AJAX very slow on IE 7.0

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
3 7551
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Gaffar | last post by:
Hello. My name is Gaffar. I am handling an module in a Project. This application interface is slow and inefficient. So Client told "implement an AJAX Solution which will increase speed and...
4
by: VK | last post by:
Google Trends is an all new service (started May 10) and I have not responsability for proper query or data accuracy. Overall seems pretty close to what could be observed by the post history in...
13
by: Karl | last post by:
Hi all. I've recently rebuilt my Vista Ultimate workstation with Visual Studio Team Developer edition. Ive also put on the SQL Server 2005 tools and it's fully patched. I was building a web...
5
by: Sommer.pde | last post by:
It took me some time to find out when and why this happens. When the window of Internet Explorer is closed with an AJAX call still pending, something funny happens. Do it twice, and you will have...
8
by: BillE | last post by:
I have an existing asp.net 2.0 webforms app using master/content pages, and it works fine. I added some Ajax elements, including some UpdatePanels and modal PopUp panels which contain asp.net...
5
by: simon | last post by:
hello, I have a server set up on my local (home) network and can not get an ajax application to run on the box. it works fine on our developement server and also works fine locally. I...
0
Frinavale
by: Frinavale | last post by:
I have a peculiar problem... Background: I have a function that I don't want the user to execute more than once while they are waiting for it to process; therefore, I disable all of the...
0
by: Abubakar | last post by:
Hi, I've been assigned to work on a asp.net page that when viewed on internet, renders very slowly and its hosted on a client machine which is a p4 3.0ghz HT, with 2 gb ram running windows...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.