#963: ServiceWorkerAutoPreload
Discussions
2024-06-17
discussion on source as "explainers from googlers"
Dan: noting comment from anne on the webkit standards position...
we agree that it's too early for tag review but that we have generally good feedback on the idea and the next step is that it should be discussed in the working group
OpenedJun 5, 2024
こんにちは TAG-さん!
I'm requesting a TAG review of ServiceWorkerAutoPreload .
ServiceWorker fetch handlers are used for various reasons but there are many cases where developers use them with the intention of serving resources faster than the network, however in some cases ServiceWorker could be slower because of its startup. To fulfill their intention, this document proposes the introduction of “ServiceWorkerAutoPreload”, a new loading strategy for ServiceWorker. ServiceWorkerAutoPreload is a mode where the browser issues a network request (i.e. a regular request which may result in a HTTP cache hit or an actual fetch) in parallel with the ServiceWorker bootstrap, and consumes the network request result inside the fetch handler.
Further details: