CStrategies
Member
I tried adding a version number to the file location in the JS tag:
However, this rendered as:
I noticed other scripts on the page seem to have this automatically applied version number
Code:
<xf:js prod="myscript/myscript_min.js?v=1.1" dev="myscript/myscript.js?v=1.1" />
However, this rendered as:
Code:
<script src="/js/myscript/myscript_min.js?v=1.1&_v=04a5b62b"></script>
I noticed other scripts on the page seem to have this automatically applied version number
04a5b62b
. I want to ensure that the user's browser downloads a new copy of the script when I update my addon, but I don't understand how the versioning is being decided here.