You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 5, 2022. It is now read-only.
Currently, since preloads and prefetches can be loaded using Link headers, it is possible to create a "preload chain" where each preloaded/prefetched resource is triggering another preload.
UAs are already able to terminate prefetch chains, as prefetch is speculative and the UA can simply not load it. They should be able to do the same for preload chains beyond a certain depth.
It's not clear to me if the depth should be well-specified, or if it can/should be UA-dependent.
The text was updated successfully, but these errors were encountered:
Do any UAs actually currently terminate prefetch chains? Of course the spec allows such behavior, but just curious if you've observed a de facto limit imposed by a few impls or not. Since the spec says preloads are mandatory fetches, I lean towards a depth being specified in some manner, even if it's not a hard number or something. But giving UAs the ability to terminate preload chains without violating spec (given "mandatory") sounds like a good idea.
Since we're going to limit subresource link headers to only styles/scripts, maybe this is not necessary? The same way a style can import another css recursively to infinite depth, and the same goes for module imports, perhaps the UA doesn't need to be involved in this?
Currently, since preloads and prefetches can be loaded using Link headers, it is possible to create a "preload chain" where each preloaded/prefetched resource is triggering another preload.
UAs are already able to terminate prefetch chains, as prefetch is speculative and the UA can simply not load it. They should be able to do the same for preload chains beyond a certain depth.
It's not clear to me if the depth should be well-specified, or if it can/should be UA-dependent.
The text was updated successfully, but these errors were encountered: