-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
Update PerformanceResourceTiming pages, part 2 #22577
Conversation
Preview URLs
External URLs (1)URL:
(comment last updated: 2022-11-29 15:40:14) |
files/en-us/web/api/performanceresourcetiming/decodedbodysize/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/performanceresourcetiming/decodedbodysize/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/performanceresourcetiming/decodedbodysize/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/performanceresourcetiming/encodedbodysize/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/performanceresourcetiming/encodedbodysize/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/performanceresourcetiming/transfersize/index.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand now that the phrases starting with 'Or' were introducing the next example. I changed them from sentence fragments to sentences.
files/en-us/web/api/performanceresourcetiming/decodedbodysize/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/performanceresourcetiming/encodedbodysize/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/performanceresourcetiming/transfersize/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/performanceresourcetiming/transfersize/index.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Joe Medley <jmedley@google.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your patience.
* Update PerformanceResourceTiming pages, part 2 * Tweak TAO wording * Review feedback * Apply suggestions from code review Co-authored-by: Joe Medley <jmedley@google.com> Co-authored-by: Joe Medley <jmedley@google.com>
Description
This PR updates the three content size related properties of the
PerformanceResourceTiming
interface.decodedBodySize
encodedBodySize
transferSize
Motivation
openwebdocs/project#62
Additional details
For
decodedBodySize
andencodedBodySize
I created example code that checks if content was compressed. FortransferSize
I created example code that checks if a local cache was hit. Let me know if these make sense. Another example fortransferSize
might be to raise warning if a resource is too large given some threshold or something.Related issues and pull requests
Part 1 was done in #22503