-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
transferSize and decodedSize attributes #5
Conversation
Based on discussion at TPAC: - adding transferBodySize - renaming decodedSize to decodedBodySize Above change allows direct comparison between payload size for before+after any content-codings are aplied (e.g. gzip). In addition to above, transferSize provides a way to account for other protocol overhead.
@mnot can you sanity check proposed language in 9369559? Also, I think we may need to refine our |
Err, just realized that in our meeting we said we wanted |
Is overhead included (e.g., chunking in /1, framing in /2)? If so, "transfer"; if not, "encoded." |
Ah, right, good call. Updated, PTAL: https://rawgit.com/w3c/navigation-timing/fe25907be3d04dcba46812a7fbd890b3024b80ce/index.html#dom-performancenavigationtiming-transfersize |
Do we need to say anything about redirects in transferSize? Yes, I'm getting picky. |
@mnot personally, no... I think we should limit it to last request only. That aside, any other thoughts or suggestions? |
Should we explicitly say that we limit it to the last request only (i.e., previous messages aren't considered "overhead")? It feels like too much detail, but then again that's how bouncing baby bugs are born. Anyway, LGTM. |
@mnot hmm, taking another pass over the spec, stumbled over...
So, at least as long as the redirect is within same origin, we do account for its timing overhead. Now I'm wondering if we should do the same for HTTP overhead -- the consistency seems like a plus. Thoughts? |
mirrors attributes and spec language defined in NT: w3c/navigation-timing#5
Closes #3. WG thread: http://lists.w3.org/Archives/Public/public-web-perf/2014Oct/0060.html