[w3c/ServiceWorker] Module service workers: updateViaCache: "imports" and byte-for-byte update checking (Issue #1866)

ikram1201 created an issue (w3c/ServiceWorker#1866)

Split out from #1574 (per review on #1864) so these points aren't lost when #1574 closes:

1. **`updateViaCache: "imports"` with module imports:** As @jakearchibald noted in #1574 (https://github.com/w3c/ServiceWorker/issues/1574#issuecomment-806911999), `updateViaCache: "imports"` is meant to let the browser use the HTTP cache for imported scripts during update checks, but module imports aren't currently treated the same way as `importScripts()`.
2. **Byte-for-byte update comparison for ES modules:** As @wanderview noted in #1574 (https://github.com/w3c/ServiceWorker/issues/1574#issuecomment-807063490), module service worker byte-for-byte update checking needs separate tracking.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1866
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/ServiceWorker/issues/1866@github.com>

Received on Friday, 4 December 2026 02:51:46 UTC