[Proto-Scripty] Browser hangs after Ajax call

2011-05-14 Thread sglsboy
Hi, I am coming across an issue where the browser hangs after I make a ajax call that returns up to 100 rows to update a table. In firefox i get the following message: A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the

[Proto-Scripty] Re: Browser hangs after Ajax call

2011-05-14 Thread kstubs
This page, as an example: retrieves over 700 rows all at one time and performs very well: http://beta.meetscoresonline.com/results/11831 So, what are you doing besides fetching the results? Is fetching the results slow; so slow network or slow database (queries with no index) or is it slow

Re: [Proto-Scripty] Browser hangs after Ajax call

2011-05-14 Thread Bertilo Wennergren
On Fri, May 13, 2011 at 22:22, sglsboy sgls...@gmail.com wrote: I am coming across an issue where the browser hangs after I make a ajax call that returns up to 100 rows to update a table. Perhaps you're adding each of those rows one at a time to the table. That is very slow. If that's what you

[Proto-Scripty] Tactics for distributing / updating javascript [OFF TOPIC]

2011-05-14 Thread kstubs
This might be off-topic, but we are a pretty smart group here, so hoping to get some feedback. Simple question, how do you distribute new javascript to the client? How do you guarantee that they are either informed to refresh (hard-refresh) or that the script is updated automatically?

[Proto-Scripty] Re: Prototype.js Memory Leaks

2011-05-14 Thread kstubs
Hi Rob, I'm in the process of optimizing this page: http://beta.meetscoresonline.com/results/11818 This page is heavily event driven and pulls a pretty good Json chunk back using Ajax.Request each time the page is loaded. I'm seeing my memory consumption going up but have not made any concret