امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
I tried adding a version number to the file location in the JS tag:
Code:
However, this rendered as:
Code:
I noticed other scripts on the page seem to have this automatically applied version number
Read more
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...Read more
