-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for cache refresh of updated pipeline files #1087
Comments
Hi! Makes sense. Perhaps we add a |
Yes, that works. (I'm also curious if you've encountered the issue more often and if so, what's your general approach to overcome that) |
Could you please create a patch? For production deploys, I often use a service worker, where there is more direct control over the cache. But we should have this feature in ITK-Wasm. |
Sure, will do. |
feat(itk-wasm): #1087 - Add query params options to pipeline URL
Edit: Released in 1.0.0-b.171. |
Hi! I'm not fully sure if this is already present, but here's my use-case
I have vite app with all pipelines located in public/itk/pipelines/*[.wasm|.umd.js|...]
Whenever any changes are made in the pipelines, I would like the browser to fetch the updated file (on execution of
runPipeline
) instead of serving from disk cache.So, I'm imagining the URLs to be something like
https://hostname/itk/pipelines/filter.wasm?_=<app-version>
instead of plainhttps://hostname/itk/pipelines/filter.wasm
Is there a way to configure the query params like the above or any other better alternative to solve the problem?
Thanks!
The text was updated successfully, but these errors were encountered: