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

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -