w3c / w3c/ServiceWorker

Is respondWith(fetch(event.request)) always the same as not calling respondWith()?

Open
#1,395 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Bikeshed
Stars
3.6k
Forks
324
Avg merge
14d 22h
Merged PRs (30d)
1

Description

At the Loading Signed Exchanges spec, the service worker interaction is defined such that respondWith(fetch(event.request)) produces different behavior than not calling respondWith().

I'm know we've historically tried to keep this the same. Are there any other known cases where these differ?

I've also filed https://github.com/WICG/webpackage/issues/409 for the specific issue of SXG and service worker interaction.

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 Loading Signed Exchanges specification linked in the issue and compare its service worker interaction with respondWith(fetch(event.request)) and with not calling respondWith(). Review the related WICG/webpackage issue 409 for the SXG-specific context; done means identifying and documenting any other cases where the behaviors differ.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.