whatwg / whatwg/fetch

Allow service-workers mode to be set in fetch options

Open
#492 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

addition/proposal needs implementer interest needs tests topic: api
Dominant language
HTML
Stars
2.3k
Forks
403
Avg merge
21h 16m
Merged PRs (30d)
4

Description

Following up on https://github.com/w3c/ServiceWorker/issues/1026#issuecomment-267568459 there are quite a few times where it would be useful for developers to specifically bypass service workers when issuing a fetch request. Is this something we can expose in fetch options? Perhaps something like 'use-service-workers' like @jakearchibald proposed in the linked issue?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked ServiceWorker issue #1026 and the Fetch Standard's fetch options definition. Clarify the proposed service-workers mode, its intended behavior, and how it should interact with service worker interception; done means an agreed option and corresponding standard specification changes.

Written by the indexing model from the issue text.

Assessment

Domain
api, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.