How to calculate total byte sent and received by a website using javascript and jquery -


i'm doing in case of , not giving correct output in chrome.

document.getelementbyid("demo1").innerhtml        = parseint(xhttp.getresponseheader("content-length")); 

content-length returns length of request body in octets (8-bit bytes), why not getting correct value.

refer article


Comments

Popular posts from this blog

php - Embed BBCode within itself not working -

minify - Minimizing css files -

Connecting Spring Batch to Remote Cassandra Database -