LearnNewsExamplesServices
Frontmatter
id3057
titleworker.ServiceBase: honor new neo versions
stateClosed
labels
enhancementstale
assignees[]
createdAtMay 13, 2022, 7:25 PM
updatedAtSep 15, 2024, 4:36 AM
githubUrlhttps://github.com/neomjs/neo/issues/3057
authortobiu
commentsCount2
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 15, 2024, 4:36 AM

worker.ServiceBase: honor new neo versions

Closed v8.1.0 enhancementstale
tobiu
tobiu commented on May 13, 2022, 7:25 PM
  • we need to store the neo-version inside the SW
  • we need to store it inside the framework as well
  • when an app connects, compare the versions
  • if different, clear the SW related cache

for dist prod, the SW is storing the webpack based chunks. these can change for a new version and then break. in case you are running into it while exploring the online-examples, just unregister the SW inside the chrome devtools (top of the application tab)

tobiu added the enhancement label on May 13, 2022, 7:25 PM