Skip to content

Clarification on workerCacheLookupStart #35

@ErikWitt

Description

@ErikWitt

Hey! The explainer looks very interesting. Especially workerMatchedRouterSource is very useful, we would certainly track it. workerFinalRouterSource is very cool as well as soon as race-network-and-fetch-handler is fixed (see crbug).

I am not sure we will be able to test the OT because it is hard to get our customers to add the token as header to the service worker. A way for 3rd party origin trials for service worker features would be awesome in the future :) (our script is imported into the customer hosted service worker file).

What I do not quite get from the explainer, will I get workerCacheLookupStart even when I do the cache lookup manually from the fetchEvent or only if I specify cache as a static route?

PS: we would also be interested in workerRouterEvaluationStart. We are using static routing already a lot and are seeing very good performance gains in RUM (up to 300ms in median for returning users on android). Understanding the performance of static routes even deeper, could be valuable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions