We have a wpt server running in private instance, deployed with
master branch. We want the Early hints section from waterfall in our private instance. But it is not showing up there.
We also tried running
release branch and cherry-pick early hint code change, but no luck.
We tried running the same site in official WPT and it is showing up there. Want to understand if there is any configuration we have to do to get this feature?
Official WPT log: walmart.com : Chrome...rginia USA - EC2 - WebPageTest Details
Are you sure that there are early hints from the server you are connecting to? It’s not uncommon for a private instance to point to a different server than external traffic if it is within your network (maybe not going to the CDN)?
I’m assuming the agent machine has an up-to-date Chrome but that would also be worth checking.
Capturing a netlog as part of the test should show if there are any early hints being sent.
- Verified that early hint is present in the private instance from netlog.
t=12823 [st= 325] HTTP_TRANSACTION_READ_EARLY_HINTS_RESPONSE_HEADERS
--> HTTP/1.1 103
- Chrome is on version:
If you look at the “Raw Details” tab in the request details do you see an entry for “early_hint_headers”?
If the entry is in the json but not in the UI then the issue is on the server/UI side. If the entry is midding from the json then the issue is with the test agent.
(I probably should have mentioned it before)
We are using Windows server for wptagent. We tested it with a linux agent and it is working there. Is this feature not for Windows agent servers? We are also facing an issue with filmstrip on windows agent [raised here](which is not in the case of linux agent).
Private instance with linux agent:
That’ll do it. The agent code was updated to handle netlog events in a different way a few years back when the trace netlog events broke but only Linux and MacOS were updated so Windows request timings and details won’t be as accurate as the other platforms.
The relevant code is here.
For Windows to work, someone would need to add (and test) the logic to stream the netlog through a pipe (or something similar).
only Linux and MacOS were updated so Windows request timings and details won’t be as accurate as the other platforms.
Thanks for the info. This should be mentioned somewhere in the doc, if not already.