Ajax $.post optimisation

Ajax $.post optimisation

Hi all,

Problem:
I have created a wallboard application to be used in a call center. It uses an asp script to echo out xml to a jquery(ajax) html frontend. The application i made works, however it is very inefficiant. I think the reason for this is that I run $.post calls to the asp script on a timer rather than waiting for the information being echoed out by the asp script to change. Also im pretty sure the data is being cached somewhere causing the memory use to sky rocket.

Question:
Does anyone have any optimisation techniques or knowlage to share with me on this specific topic? Should the asp script be writing to a file i can monitor for changes?

Code:
Here is the jquery code, any help would be appreciated:
function get_data(){
$(document).ready(function(){
// When DOM is ready
$("#wallboard").ready(function() {
$.post('http://10.203.92.211:81/AgentStats_xml.asp?team=IT%20Support&pilot=5486', {wallboard: $(this).html()}, function(xml) {
// Request via post: xml data from script
// NT: this = current dom object ("#wallboard")
$("#wallboard").html(
// Create html markup and output xml content to page:
"<table border=1><tr><th>Queue</th><th>State</th><th>Calls Waiting</th><th>Longest Waiting</th><th>Calls Today</th><th>Agents Ready</th><th>Agents Talking</th><th>NotReadyAgentsList</th></tr>" +
" <td>" + $("Name", xml).text() + "</td>" +
" <td>" + $("State", xml).text() + "</td>" +
" <td>" + $("CallsWaiting", xml).text() + "</td>" +
" <td>" + $("LongestWaiting", xml).text() + "</td>" +
" <td>" + $("CallsToday", xml).text() + "</td>" +
" <td>" + $("AgentsReady", xml).text() + "</td>" +
" <td>" + $("AgentsTalking", xml).text() + "</td>" +
" <td>" + $("NotReadyAgentList", xml).text() + "</td>" +
"</tr></table>"
);
});
});
});
setTimeout(get_data(),5000);
}
get_data();