whatwg / fetch

Fetch Standard
https://fetch.spec.whatwg.org/
Other
2.12k stars 332 forks source link

[render-blocking] The links of "render-blocking" in fetch are vague #1746

Open cathiechen opened 7 months ago

cathiechen commented 7 months ago

What is the issue with the Fetch Standard?

I found the links of "render-blocking" in fetch are vague when walking through the spec.

  1. It shows "Possible linking syntaxes", when clicking https://fetch.spec.whatwg.org/#request-render-blocking
  2. The value of "render-blocking" of "fetch timing info" is not used anywhere. https://fetch.spec.whatwg.org/#fetch-timing-info-render-blocking Should we make it clear? @xiaochengh @emilio
xiaochengh commented 7 months ago

It's supposed to be used in PerformanceResourceTiming, but the interlinks seem missing.

See https://github.com/whatwg/fetch/pull/1449 and https://github.com/w3c/resource-timing/pull/327

cathiechen commented 7 months ago

Ah, I see, thanks for explaining:)