Does anyone know why the PerformanceResourceTiming instance is missing information regarding DNS and what not?
PerformanceResourceTiming {
name: 'https://example.com/',
entryType: 'resource',
startTime: 257.69891691207886,
duration: 98.86862516403198,
initiatorType: 'fetch',
nextHopProtocol: undefined,
workerStart: 0,
redirectStart: 0,
redirectEnd: 0,
fetchStart: 257.69891691207886,
domainLookupStart: undefined,
domainLookupEnd: undefined,
connectStart: undefined,
connectEnd: undefined,
secureConnectionStart: undefined,
requestStart: 0,
responseStart: 0,
responseEnd: 356.56754207611084,
transferSize: 300,
encodedBodySize: 0,
decodedBodySize: 0
}
But it's still not immediately clear to me how to fix this. Any ideas?
Does anyone know why the PerformanceResourceTiming instance is missing information regarding DNS and what not?
Here is an example:
That you get from a simple script like:
I tracked down the places in the source code where this gets created:
undici/lib/fetch/index.js
Lines 311 to 325 in 8422aa9
But it's still not immediately clear to me how to fix this. Any ideas?