On a web site (javascript on front-end), I subscribe to another web site events through a (url) which returns Chunked data .
I want to read and parse only the delta (=new) portion of data received and not all the accumulated content.
Any clever way to do that ? Below my code running well but displaying "all accumulated value"
var xhr = new XMLHttpRequest()
xhr.open("GET", url, true)
xhr.onprogress = function () {
console.log("PROGRESS:", xhr);
}
xhr.send()