mirror of
https://github.com/DeNNiiInc/Web-Page-Performance-Test.git
synced 2026-04-17 20:05:58 +00:00
Phase A.2 - Add expandable Request/Response Headers view
This commit is contained in:
@@ -53,6 +53,10 @@ function parseHAR(lighthouseResult) {
|
||||
isThirdParty: checkIfThirdParty(request.url, lighthouseResult.finalUrl),
|
||||
renderBlocking: request.renderBlocking === 'blocking',
|
||||
|
||||
// HTTP Headers
|
||||
requestHeaders: request.requestHeaders || {},
|
||||
responseHeaders: request.responseHeaders || {},
|
||||
|
||||
// Extracted from response headers if available
|
||||
cacheControl: request.responseHeaders?.['cache-control'],
|
||||
contentEncoding: request.responseHeaders?.['content-encoding']
|
||||
|
||||
Reference in New Issue
Block a user