Firebug 不会在更改的 JavaScript 上刷新缓存
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11323193/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Firebug does not refresh cache on changed JavaScript
提问by Yohan Hirimuthugoda
Firebug does not refresh cache on changed JavaScriptwhen debugging JavaScript code under script section of Firebug. It's still showing & executing old JavaScript code which I wrote 1 to 2 hours back.
在 Firebug 的脚本部分下调试 JavaScript 代码时,Firebug 不会刷新更改的 JavaScript 上的缓存。它仍在显示和执行我 1 到 2 小时前编写的旧 JavaScript 代码。
Firefox version is 13.0.1.
Firebug 1.9.2.
Firefox 版本为 13.0.1。
萤火虫 1.9.2。
Could anybody please suggest me how to overcome this issue? Or anyway of clearing JavaScript cache under Firebug?
有人可以建议我如何克服这个问题吗?或者无论如何在 Firebug 下清除 JavaScript 缓存?
采纳答案by Polyov
When I've had this problem, I've usually restarted Firefox (close, open again), but clearing the cache using ctrl+F5
has worked too.
当我遇到这个问题时,我通常会重新启动 Firefox(关闭,再次打开),但使用清除缓存ctrl+F5
也有效。