Phase A.2 - Add expandable Request/Response Headers view

This commit is contained in:
2025-12-28 02:54:45 +11:00
parent aefa41f273
commit fbd73f4cdc
2 changed files with 53 additions and 0 deletions

View File

@@ -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']