Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jan 23, 2021. It is now read-only.
This repository was archived by the owner on Jan 23, 2021. It is now read-only.

Relax top-level service worker requirement #147

Copy link
Copy link
@jeffposnick

Description

@jeffposnick
Issue body actions

As per w3c/ServiceWorker#839 (comment), it sounds like the service worker specification will be updated to allow any byte-by-byte changes to importScripts() resources to trigger the Install flow. This opens the door towards allowing developers to pull in sw-precache's output via importScripts() instead of forcing them to use it as their top-level service worker.

It also might open the door to some of the refactoring that @gauntface has advocated for in #43 and elsewhere.

This all will depend on browsers shipping service worker implementations that adhere to the new behavior, so this issue is more of a long-term reminder than anything immediately actionable.

CC: @addyosmani @wibblymat

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.