- From: Yoshisato Yanagisawa <notifications@github.com>
- Date: Sun, 03 Aug 2025 17:53:07 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 4 August 2025 00:53:11 UTC
yoshisatoyanagisawa left a comment (w3c/ServiceWorker#1784) Thank you for your suggestion. Using the request's reserved client as the environment would indeed work for the fetch event. However, as you know, the Cache API is also used in other contexts, such as the install event, where there is no associated request or reserved client. Therefore, this approach doesn't seem to be a viable general solution. I believe we need to refactor the Storage spec so that we can pass a storage key directly, as discussed earlier. I've created a pull request in the Storage spec to add an algorithm for this purpose: https://github.com/whatwg/storage/pull/185. I'd appreciate your thoughts on that approach. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/issues/1784#issuecomment-3148836495 You are receiving this because you are subscribed to this thread. Message ID: <w3c/ServiceWorker/issues/1784/3148836495@github.com>
Received on Monday, 4 August 2025 00:53:11 UTC