Document-Policy: expect-no-linked-resources #1014
Labels
Progress: propose closing
we think it should be closed but are waiting on some feedback or consensus
Topic: performance
Milestone
こんにちは TAG-さん!
I'm requesting a TAG review of
expect-no-linked-resources
Document-Policy.User Agents have implemented speculative parsing of HTML to speculatively fetch resources that are present in the HTML markup, to speed up page loading. For the vast majority of pages on the Web that have resources declared in the HTML markup, the optimization is beneficial and the cost paid in determining such resources is a sound tradeoff. However, the following scenarios might result in a sub-optimal performance tradeoff vs. the explicit time spent parsing HTML for determining sub resources to fetch:
This proposal introduces a configuration point in Document Policy expect-no-linked-resources to explicitly state to the User Agent that it may choose to optimize out the time spent in such linked resource determination.
Further details:
You should also know that:
Prefer-No-Speculative-Parsing
that directly tried to control the speculative parser behavior. After consulting W3PerfWG, the header was renamed intoexpect-no-linked-resources
and repositioned as a Document-Policy configuration point, to avoid controlling the scanner behavior directly, and to create a reusable signal that might benefit more use cases.The text was updated successfully, but these errors were encountered: