Closed mingyc closed 9 months ago
Today's discussion:
cc @noamr
One thing to be wary of, and that per-origin quota helps a lot with, is weird dynamics that can be created if the quota is shared between multiple 3P vendors on the page.
See https://whatpr.org/fetch/1647.html#deferred-fetching:
...
Subsequent request-related discussion in https://github.com/WICG/pending-beacon/issues/87 to avoid confusion
Context: #70 #71
As setting
deferSend
implieskeepalive
is also true, such request has to share the same size limit budget as a regular keepalive request’s one: "for each fetch group, the sum of contentLength and inflightKeepaliveBytes <= 64 KB".To comply with the limit, there are several options:
fetch()
throwsTypeError
whenever the budget has exceeded. Users will not be able to create new pending requests.fetch()
should still throwsTypeError
.