问题
I am facing Javascript caching issue even though I append version number in javascript include
i.e. I am trying to force browser to load new javascript like
<script type="text/javascript" src="/aa/bbb/test.js?v=7"></script>
but still I am seeing old javascript being loaded by browser.
Can anyone suggest alternative fix for this?
Thanks in advance.
回答1:
Deactivate the cache in your browser.
来源:https://stackoverflow.com/questions/7770412/javascript-caching-issue