Re: [w3c/ServiceWorker] How should import() work in service workers? (#1585)

Option 1.5 seems pretty reasonable to me!

Something I'm curious about is if/how modules loaded via `import()` should contribute to the service worker's overall byte-for-byte update check. In options 1 & 1.5, given that the imported modules would be cached via the same mechanism used for the top-level script and static imports, would they also obey the `updateViaCache` registration setting, and would a change in an `import()`-ed module trigger a service worker update?

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

Received on Friday, 23 April 2021 18:04:02 UTC