|
By default the prototype.js gives us the
function /* prevent memory leaks in
IE */ Event.observe(window,
'unload', Event.unloadCache, false); But there is no unload event in out
application as the content of the div keeps changing using the Ajax.Updater
function. To handle such a scenario, we’ve added the following lines of
code to prototype.js /* prevent memory leaks in
IE */ Event.observe(window,
'unload', Event.unloadCache, false); Event.observe(document,
'readystatechange', Event.unloadCache, false); Now I’m still testing and will proceed
with it, but would like to know will this help in improving the performance, if
not, then what is the optimum way to use this function to clean & clear the
IE memory as the page get’s refreshed. Regards *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Visit Varun
at
|
_______________________________________________ Rails-spinoffs mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
