I want to solve a long-standing problem in my project with caching by the javascript browser when building a yarn project written in vue.
I want a random salt to be added to the files during yarn build and an alert would be displayed to the user who is sitting on the site.
How do I add random salt through assembly? I can't find it. Regarding versioning, too, I have not yet come up with a better way to store versions on the client and on the server that would be checked, that is, each build assumes an increase in the version on the server and when you click on the update agreement, the version on the client would increase.