Skip to content
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

Add explainer to expose client info on "PerformanceResourceTiming" API #1007

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

monica-ch
Copy link

Explainer doc for the feedback.

@noamr
Copy link

noamr commented Apr 8, 2025

Thanks for working on this! I'm a bit confused about how the solution (specifically option 1) maps to the use case.
Seems like the use case is about mapping resource timing entries to fetch events, but the solution in option 1 only deals with navigations and maps the clientId, which would be the same across resources?

This OP alludes to that but this explainer doesn't...

Another issue with this is that mapping a response to a clientId only works if you don't use caches, which often beats the purpose of using a service-worker in the first place. A Cache allows you to reuse responses across clients, and this kind of mapping would break on the first response reuse.

Copy link
Member

@fabiorocha fabiorocha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like both files are almost identical. I assume we only need one of them?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants