Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Ajax slow on IE7

New Here ,
Oct 21, 2007 Oct 21, 2007
Hi, I got three cfselects on one page...

<cfselect name="company" style="width:200px;"></cfselect>
<cfselect name="project" style="width:200px;" bind="cfc:components.test.getProjects({company})" bindOnLoad="no"></cfselect>
<cfselect name="activity" style="width:200px;" bind="cfc:components.test.getActivities({project},{company})" bindOnLoad="no"></cfselect>

and one <cfgrid> has bind="cfc:components.test.getData({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection}, document.insertForm.date[0].value)".

Everything works very fast in Firefox but is really slow (unuseable) in IE7. Seems like it's a lag before IE7 posts the ajax-message to the server.

Any ideas?
1.7K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 23, 2007 Oct 23, 2007
Hi
I ran acros similar problems using the FCK-Editor (integration with <cftextarea richText="true" ... > and the old fashioned way using the cfc) and have made some tests end of last week.

First of all: What kind of OS you're running? I'll bet it's vista (because my problemes occured just with that system).

What I figured out was that the time, IE needs to render the page respectively to perform all the DOM manipulations, risies exponentially with the number of nested layout tags, especially <cflayout ... > / <cflayoutarea ... >. It seems to me as if the JScript engine (which isn't realy performant anyway), reaches it's limits in this case...
With the ressources monitor of vista it's no problem to protocol the CPU-load-peaks (up to 90%) while processing the FCK-Editor scripts.

Does anyone made similar experiances?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 27, 2007 Nov 27, 2007
Hi,

I am using Window XP. I dont know about the FCK Editor, It is working fine with me but my ajax script running very very very slow when I am trying to put CFGRID inside CFLAYOUT.

Actually I have two tabs and both tabs contain CFGRID and it is taking more than 10 secs to load. My client is BOOMING for this..

Please please any body take me out from this problem..
thanks in advance
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Dec 12, 2007 Dec 12, 2007
Microsoft just recently released an automatic update for AJAX slowness. Did that help?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 17, 2007 Dec 17, 2007
IE is just plain slower when it comes to parsing javascript, period. I did a lot of testing with this, and especially when you've got a bunch of js manipulating the dom, IE just drags compared to other browsers. A big dynamically-generated hierarchical menu for one site I wrote would take about 12-14 seconds to parse in IE, and about 1.4 seconds in Firefox. I ended up doing a bunch of tricky content caching to overcome the lag. IE pretty much sucks in general, but its js-parsing speed is particularly craptacular.

One thing worth trying is turning off the automatic phishing filter to see whether that helps.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 02, 2008 Oct 02, 2008
IE 6 & 7 on XP are both multiple times slower than FF 3 with my CF8.01 heavy AJAX/Javascript Intranet app. Phishing filter is off and I have all the latest updates. I really need a solution as well since my client is probably not switching browsers. I like the new CF AJAX functionality, but my client is not happy with the speed.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 20, 2009 Jan 20, 2009
I'm having exact same BrainO's problem, but fortunately I'm still in development phase.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 21, 2009 Jan 21, 2009
One thing I finally did to improve the speed a bit was to remove cflayout tags as much as possible. I had multiple nesting going on to take advantage of accordian and other layout features. I have a tabbed layout and use cflayout for that alone now. I'm using 3/4ths of the other AJAX tag capabilities, so I think it would be a pain to try other non-CF8 approaches at this point, but if Adobe doesn't improve its performance, I may still do that.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 21, 2009 Jan 21, 2009
You are right, but this will cause design change which means need to get approval again from department. In one word its pain in..
I hope adobe take in consideration about this issue with next release or patch. The way I see it now cf ajax is useless for enterprise applications.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 10, 2009 Feb 10, 2009
LATEST
IE8 RC1 seemed to process javascript lots faster on a test we did. (Not relating to ColdFusion ajax component.) It went about as fast as Chrome in the test. Maybe IE8 will be faster with javascript overall in other areas as well.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources