#785: Content-type in Resource Timing

Visit on Github.

Opened Nov 14, 2022

Wotcher TAG!

I'm requesting a TAG review of Content-type in Resource Timing.

Proposal to add a new field contentType to PerformanceResourceTiming which holds a string corresponding to the content type of the fetched resource

Further details:

  • I have reviewed the TAG's Web Platform Design Principles
  • Relevant time constraints or deadlines:
  • The group where the work on this specification is currently being done: W3C Web Performance WG
  • Major unresolved issues with or opposition to this specification: None
  • This work is being funded by: Google

You should also know that...

We'd prefer the TAG provide feedback as :

💬 leave review feedback as a comment in this issue and @-notify @abinpaul1 @yoavweiss

Discussions

2022-11-28

Minutes

Max: seems not very complex - proposed extension to draft of performance resource timing. This is used by developers to measure web page performane. They propose to add content type info used by developer for analysis... if content type is image or other media .. user experience is different. That's the purpose.. Personally don't have other comments. Straightforward.

Dan: I think I understand the user benefit

Yves: a developer benefit. Figure out if you are using conneg for two different types of images, if you are talking to the server or cdn, if the cdn is doing conneg or not, gives you the smallest version or not. That's what you get adding the proper content type sent by the server, not the decoded information

Max: ask them to add information from the user experience perspective? I understand its aimed to be used by the developer for analysis

Dan: might have a second order effect on user experience because it will lead to more fasterer webpages. Is there something else we are missing in terms of.. information that could be leaking through this side channel that could be revealing something about the user?

Yves: I can't see anything that is not exposed otherwise.

Max: [will leave comment and close]