Skip to content

Clarify cache access in Handle Fetch #1786

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

yoshisatoyanagisawa
Copy link
Collaborator

@yoshisatoyanagisawa yoshisatoyanagisawa commented Aug 6, 2025

The previous wording "the registration’s storage key’s name to cache map" was ambiguous. This change clarifies the mechanism for accessing caches during a fetch event handled by a service worker.

Specifically, it replaces the ambiguous phrase with a direct call to "obtain a local storage bottle map" from the Storage specification, using the reserved client's environment. This makes the process of retrieving the cache map explicit and aligns the specification with modern storage standards.

This addresses the issue raised in #1784


Preview | Diff

The previous wording "the registration’s storage key’s name to cache map"
was ambiguous. This change clarifies the mechanism for accessing caches
during a fetch event handled by a service worker.

Specifically, it replaces the ambiguous phrase with a direct call to "obtain
a local storage bottle map" from the Storage specification, using the reserved
client's environment. This makes the process of retrieving the cache map
explicit and aligns the specification with modern storage standards.

This addresses the issue raised in w3c#1784
@yoshisatoyanagisawa
Copy link
Collaborator Author

@annevk Will you take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant