[w3ctag/design-reviews] Expose contentEncoding in resourceTiming (Issue #1064)

guohuideng2024 created an issue (w3ctag/design-reviews#1064)

こんにちは TAG-さん!

I'm requesting a TAG review of exposing contentEncoding in resourceTiming.

Propose that we add an explicit `.contentEncoding` in resourceTiming.
`contentEncoding` value has been very helpful for web apps and CDN in monitoring and optimization. As more compressions are deployed, it's no longer practical to infer such value. Therefore, it's desirable to explicitly expose it.

  - Explainer¹:
    https://github.com/guohuideng2024/resource-timing/blob/gh-pages/Explainers/Content_Encoding.md
  - Specification:
    https://github.com/whatwg/fetch/pull/1796
    https://github.com/w3c/resource-timing/pull/411
  - WPT Tests:
    https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/external/wpt/resource-timing/content-encoding.https.html
  - User research: [Here](https://github.com/guohuideng2024/resource-timing/blob/gh-pages/Explainers/Content_Encoding.md#user-research).
  - Security and Privacy self-review²: [Here.](https://github.com/guohuideng2024/resource-timing/blob/gh-pages/Explainers/Content_Encoding.md#securityprivacy-considerations)
  - GitHub repo:
    https://github.com/w3c/resource-timing
  - Primary contacts:
     @guohuideng2024, Microsoft
  - Organization/project driving the specification: Microsoft
  - Multi-stakeholder support³:
    - Chromium comments: Already implemented behind a feature flag.
    - Mozilla comments: https://github.com/mozilla/standards-positions/issues/1189
    - WebKit comments: https://github.com/WebKit/standards-positions/issues/467
  - Status/issue trackers for implementations⁴:
    https://chromestatus.com/feature/4818080273006592
    https://github.com/w3c/resource-timing/issues/381

Further details:

  - [x] I have reviewed the TAG's [Web Platform Design Principles](https://www.w3.org/TR/design-principles/)
  - The group where the work on this specification is currently being done: WebPerfWG
  - The group where standardization of this work is intended to be done (if different from the current group): WebPerfWG
  - Major unresolved issues with or opposition to this specification: None.
  - This work is being funded by: Microsoft


-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/1064
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/1064@github.com>

Received on Tuesday, 4 March 2025 22:14:05 UTC