I am facing caching issue with my Angular app. I have used several approach but issue is still there. For creating the build, I am using following command.
ng build --prod --output-hashing=all --aot
Can we add version number after hash file name like as below.
<script src='runtime.834594739.js?v=12345678'></script>
Please suggest, how to add version number with build file which auto adds in index.html file on runtime.
Thanks
834594739is the hash generated by the CLI. Why do you want to add12345678?