Get Transferred Size Of A Resource Using Javascript
I'm trying to measure page load performance of real website users. To make better sense of the data, I'd like to segment the data by whether or not the cache was primed. So I don'
Solution 1:
It appears that whilst the Resource Timing API is supported in most modern browsers, recent changes to the Resource Timing API specification, such as the transferSize
property, have not yet been implemented.
Here are the relevant bugs reporting this for Firefox and for Chromium.
As mentioned in the comments to the question, it appears that this has been addressed in Firefox and will be released in Firefox 45. I have confirmed that transferSize
is currently available in the Firefox Developer Edition (v45.0a2).
Post a Comment for "Get Transferred Size Of A Resource Using Javascript"