You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our website uses service worker to proxy http requests. When service worker is enabled, the connectStart and connectEnd values returned by window.performance API are always the same as workerStart. If we disable service worker, these values become correct, and we can then measure the DNS cost, TCP connection cost.
Image 1, service worker enabled:
Image 2, without service worker:
I find something useful in Chrome Dev Tool. How can I access this timing info in service worker?
The text was updated successfully, but these errors were encountered:
Our website uses service worker to proxy http requests. When service worker is enabled, the
connectStart
andconnectEnd
values returned bywindow.performance
API are always the same asworkerStart
. If we disable service worker, these values become correct, and we can then measure the DNS cost, TCP connection cost.Image 1, service worker enabled:
Image 2, without service worker:
I find something useful in Chrome Dev Tool. How can I access this timing info in service worker?
The text was updated successfully, but these errors were encountered: