I have a search that returns JSON, which is then converted to an HTML table in Javascript. It repeatedly calls the jQuery.append () method, once for each line. I have a modern machine and the response time of Firefox is acceptable. But in IE 8, it is unbearably slow.
I decided to transfer the conversion from data in HTML to server-side PHP by changing the return type from JSON to HTML. Now, instead of calling jQuery.append () again, I call the jQuery.html () method once with the whole table. I noticed that Firefox has become faster, but IE has become slower.
These results are anecdotal and I did not benchmark, but IE performance is very disappointing. Is there something I can do to speed up the manipulation of large amounts of data in IE, or is it just a bad idea to process a lot of data at once using AJAX / Javascript?
source
share