Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Adding custom field "_resourceType" #83

Merged
merged 1 commit into from
Oct 24, 2021

Conversation

starrify
Copy link
Contributor

Chrome (precisely, its DevTools Frontend) has been including this field in its generated HAR files. It forwards important information from the renderer and may in some cases become rather helpful.

Further information: https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-ResourceType

An example from a Chrome-recorded HAR:

$ cat example_from_chrome.har | jq '.log.entries[]._resourceType' -r | sort | uniq -c
      3 document
      6 fetch
      2 font
     66 image
      2 other
      1 preflight
     26 script
      4 stylesheet
     24 xhr

Chrome (precisely, its DevTools Frontend) has been including this field
in its generated HAR files. It forwards important information from the
renderer and may in some cases become rather helpful.

Further information: https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-ResourceType
@starrify starrify force-pushed the forward-resource-type-field branch from b88cb5c to 00555bd Compare March 25, 2021 19:45
@soulgalore soulgalore merged commit 96c814e into sitespeedio:main Oct 24, 2021
@soulgalore
Copy link
Member

Thank you @starrify I have totally missed this PR, sorry!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants