Having trouble retrieving XML data using JavaScript and Ajax. The script takes too long (up to 45 seconds) to collect the data from the database and return it as XML. Everything works fine when loading the data locally, so no issues with cross-domain. Any suggestions on improving performance?
//Get XML Data
$.ajax({
type: 'GET',
url: 'http://.../export.jsp',
dataType: 'xml',
success: function(xml_list) {