Hi,

I'm releasing now updates more often and sometimes (many times), the
browser cache my App.js
In a quick google search I found a solution (more a workaround) =>
https://stackoverflow.com/questions/1011605/clear-the-cache-in-javascript
When I build - release with VS Code, it inject this line on my html
file:<script type="text/javascript" src="./App.js"></script>
So, I don't have control over it.

What I would like to do is something like have a version flag of my App in
the asconfig.json and when I build - relase the compiler inject something
like:<script type="text/javascript" src="./App.js?v=1"></script>
<script type="text/javascript" src="./App.js?v=2"></script>
...

This is possible today ?

Regards,
Hugo.

Reply via email to