Intent to Prototype: HTTP method in ResourceTiming

36 views
Skip to first unread message

Sohom Datta

unread,
Oct 23, 2023, 1:22:41 PM10/23/23
to blin...@chromium.org

Summary

The ResourceTiming API structure doesn't currently give us insight into what HTTP method was used to fetch a specific resource and/or make an API call. As a part of this feature, a field will be added to the ResourceTiming structure that will allow developers to filter resources by the method used to fetch them.



Blink component

Blink>PerformanceAPIs>ResourceTiming

Motivation

The addition of this field will allow for the following scenarios (per w3c/resource-timing#373): - Being able to debug and tease out specific cases where a POST request causes more overhead than a GET request and vice-versa. - Being able to segregate the performance of URLs based of the HTTP methods used to access them (for example when monitoring a REST API)



Initial public proposal

https://github.com/w3c/resource-timing/issues/373

TAG review

None

TAG review status

Pending

Risks



Interoperability and Compatibility

None



Gecko: No signal

WebKit: No signal

Web developers: No signals

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

None



Debuggability

None



Is this feature fully tested by web-platform-tests?

None yet, but WPT tests will be written alongside implementation 

Flag name

None, expected to be "PerformanceResourceTimingHttpMethod"

Finch feature name

None

Non-finch justification

None

Requires code in //chrome?

False

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1433676

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5165031574732800

This intent message was generated by Chrome Platform Status

Reply all
Reply to author
Forward
0 new messages