Is there a way to access AJAX data before the request is complete in order to achieve streaming, similar to the example below:
ajax_request.send();
interval = setInterval(function() {
continueParsing(ajax_request.responseText);
if (download_complete)
clearInterval(interval);
}, 64);
Currently, I am using a PHP method to break up the request into smaller parts, but I would prefer to handle it all at once. What is the best approach to accomplish this, focusing on compatibility with Chrome and Firefox?