8000 fix: configurable timebomb / registration TTL · Issue #724 · ipfs/service-worker-gateway · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
10000
fix: configurable timebomb / registration TTL #724
Open
@SgtPooki

Description

@SgtPooki

we added a timebomb to automatically remove the service worker after a period of time. we should remove that now that most things are working pretty well and users can manually unregister the service worker from the config page.

Update how we handle automatic timebomb / service worker unregistration and re-registration

  1. Change timebomb in codebase to be "ServiceWorkerRegistrationTTL"
  2. Add config for registrationTTL
  3. prevent SW from unregistering if the user is offline (i.e. they cannot re-download the SW nor re-load the content)

cc @lidel

related: #721

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High: Likely tackled by core team if no one steps upeffort/hoursEstimated to take one or several hoursenhancementNew feature or requestexp/beginnerCan be confidently tackled by newcomersgood first issueGood for newcomerskind/enhancementA net-new feature or improvement to an existing featurekind/maintenanceWork required to avoid breaking changes or harm to project's status quostatus/readyReady to be worked

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0