Open Bug 1290958 Opened 6 years ago Updated 2 months ago

Implement service worker navigation preload

Categories

(Core :: DOM: Service Workers, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: bkelly, Unassigned)

References

(Blocks 2 open bugs)

Details

(Keywords: dev-doc-needed)

This is a complicated issue, but I think its best described as:

1) Allow service workers to opt-in to a "concurrent fetch" mode
2) If a navigation will be intercepted by a SW in this mode, then perform a network request while interception occurs.
3) The SW will then have a promise API to get the result of the concurrent network request.
4) The SW will have an API to configure additional headers for the concurrent network request.

For more info see the very long thread here:

https://github.com/slightlyoff/ServiceWorker/issues/920#issuecomment-236251448
Priority: -- → P3
This has been added to the spec as navigation preload.
Summary: Support opt-in parallel network request when navigation will be intercepted by service worker → Implement service worker navigation preload
We need to finish our e10s architectural changes before adding a new feature like this.
Type: defect → enhancement
Assignee: nobody → perry
Assignee: perry → nobody
Depends on: 1351231
Depends on: 1725567
No longer depends on: ServiceWorkers-e10s, 1351231
Depends on: 1740306
Depends on: 1577346
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.