I am using VS 2008 to write my Javascript code ( mostly in JQuery). However the js file was not updated when I was done with the editing and pressed F5 to call out the debugger. I need to close my vs2008 and reopen it in order to see the latest changes in js file.
我正在使用VS 2008来编写我的Javascript代码(主要是在JQuery中)。但是,当我完成编辑并按下F5调出调试器时,js文件没有更新。我需要关闭我的vs2008并重新打开它以查看js文件中的最新更改。
Any idea on how to fix this?
有关如何解决此问题的任何想法?
5 个解决方案
#1
3
Do a CTRL-F5 in the browser to force a hard refresh of all files the page is using.
在浏览器中执行CTRL-F5以强制刷新页面正在使用的所有文件。
#2
1
Clear the cache in your browser. It's usually that it has a locally cached copy.
清除浏览器中的缓存。它通常是一个本地缓存的副本。
#3
0
js is heavily cached. Use a timestamp and append it to the url:
js被高度缓存。使用时间戳并将其附加到网址:
script.js?_s=12345678
this will force a refresh
这将迫使刷新
#4
0
clear the browser cache.. thats the usual culprit
清除浏览器缓存..这是通常的罪魁祸首
#5
0
If you can use Firefox instead, install the Web Developer Toolbar plugin, and you can disable caching for certain sites, i.e. the site you are developing.
如果您可以使用Firefox,请安装Web Developer Toolbar插件,并且可以禁用某些站点的缓存,即您正在开发的站点。
#1
3
Do a CTRL-F5 in the browser to force a hard refresh of all files the page is using.
在浏览器中执行CTRL-F5以强制刷新页面正在使用的所有文件。
#2
1
Clear the cache in your browser. It's usually that it has a locally cached copy.
清除浏览器中的缓存。它通常是一个本地缓存的副本。
#3
0
js is heavily cached. Use a timestamp and append it to the url:
js被高度缓存。使用时间戳并将其附加到网址:
script.js?_s=12345678
this will force a refresh
这将迫使刷新
#4
0
clear the browser cache.. thats the usual culprit
清除浏览器缓存..这是通常的罪魁祸首
#5
0
If you can use Firefox instead, install the Web Developer Toolbar plugin, and you can disable caching for certain sites, i.e. the site you are developing.
如果您可以使用Firefox,请安装Web Developer Toolbar插件,并且可以禁用某些站点的缓存,即您正在开发的站点。