简体   繁体   中英

I can't refresh external javascript file

I'm making some changes on my .js file and upload to server. But I can't refresh .js file and I can't see my changes on my browser.

  • I deleted all caches, cookies, temporary files, history on firefox and chrome.
  • I disabled output caching on IIS.
  • Even I delete my script file from folder, I can still see the file on the browser.

Do you know to how to refresh my file?

一种技巧是在js文件中添加?v=1类的版本。

<script src="script/something.js?v=1"></script>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM