Skip to content
Discussion options

You must be logged in to vote

Which build tool are you using? If you are using trunk, it automatically hashes the WASM file name so that when you deploy a changed version, it will load the new one and not cache it. If you are using cargo-leptos, you can enable file hashing with hash-files = true (note that you'll probably then want to swap from Stylesheet to HashedStylesheet or it will not load the correct CSS)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@alexanderpolson
Comment options

@gbj
Comment options

gbj Nov 17, 2025
Maintainer

Answer selected by alexanderpolson
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants