You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.
That's intentional. Changing the generated service-worker.js file itself is necessary in order to trigger the service worker update flow, which is what is responsible for caching the updated resources.
As of right now, updates to external files that get pulled in to the main service worker via importScripts() won't trigger the service worker update flow, so it's possible to move the file hashes to an external file. This will change in the future, as the service worker specification has been modified to allow changes to files pulled in via importScripts() to trigger the update flow. However, until all browsers with service worker support are updated to this new behavior, we can't change the current approach.
Generated
service-worker.js
files are identical exceptPrecacheConfig
variable. What about movePrecacheConfig
to external file?The text was updated successfully, but these errors were encountered: