Skip to content

ServiceWorkerAutoPreload #1108

Open
Open
@sisidovski

Description

@sisidovski

This is a second time request for ServiceWorkerAutoPreload. The previous request was closed in #963. Now we have other browser interest, draft spec change, and the proposal was transferred into WICG. So let us ask the TAG review again.

こんにちは TAG-さん!

I'm requesting an early TAG design 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.

You should also know that...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions