-
Notifications
You must be signed in to change notification settings - Fork 306
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
Web target with hash included in wasm pkg files to solve cache issues #2384
Comments
Looks reasonable! Looks like it is loaded in
flutter_rust_bridge/frb_example/flutter_via_create/lib/src/rust/frb_generated.dart Line 71 in acf0d32
Feel free to PR for this! Alternatively, I may work on this feature request later. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I encountered this cache issue too and after following the discussion in PR #2387, I found the proposed solution is great but it might not be implemented immediately.
For CI, since I’m using GitLab, my build command looks like this: |
Is your feature request related to a problem? Please describe.
I have an web application using WebAssembly behind cloudflare, even if the cache is fully disabled, some browsers still keep the old WASM & js files when we do an update.
Describe the solution you'd like
Having a hash concatened to the filename for easier update would be better.
Describe alternatives you've considered
Doing by hand using a bash script. But I don't know where it's exactly loaded by flutter.
The text was updated successfully, but these errors were encountered: