Kitware / itk-vtk-viewer

2D / 3D web image, mesh, and point set viewer using itk-wasm and vtk.js
https://kitware.github.io/itk-vtk-viewer/
BSD 3-Clause "New" or "Revised" License
210 stars 64 forks source link

ServiceWorker cache not invalidated? #694

Open PaulHax opened 1 year ago

PaulHax commented 1 year ago

I went to the steady GitHub hosted viewer link: https://kitware.github.io/itk-vtk-viewer/app/?fileToLoad=https://data.kitware.com/api/v1/file/564a65d58d777f7522dbfb61/download/data.nrrd

And got the could not make a WebGPU context error. Page was running old version of itk-vtk-viewer. Disable Cache was clicked on Chrome Dev Tools network tab.

After clicking "Clear site data" under application tab and reloading, the WebGPU error went away.

Expect that page to always serve latest version.