0

Update early-hints.md

To add a plan to fix unreliability of initiatorType. Also remove
Fastly's test page link because the page does not work any longer.

Bug: 1446892
Change-Id: Ieb34dcd23b62a3d88263d5691fefdfedb9d0c827
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4546488
Commit-Queue: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1146398}
This commit is contained in:
Kenichi Ishibashi
2023-05-19 07:09:24 +00:00
committed by Chromium LUCI CQ
parent 9ff5f97663
commit 539af45ff6

@ -44,9 +44,9 @@ performance.getEntriesByName('https://a.test/style.css')[0].initiatorType
// => 'early-hints'
```
Caveat: `initiatorType` may not always set to "early-hints" due to an
implementation limitation. We would like to fix the issue in the future.
### Reliability of `initiatorType`
## Resources
* [Fastly's test page](https://early-hints.fastlylabs.com/)
Due to an implementation limitation, `initiatorType` may not always set to
"early-hints". See
[the proposal](https://docs.google.com/document/d/1V7xX2cRNxcsuIrtZk4srdZuqXynnYlPG9fFDnELXC_Y/edit?usp=sharing)
for more details.