javascript - Google chrome doesn't save changes of my code in the debugger - Stack Overflow

I am developing a web-application, and google-chrome started behaving weird. When I make change in a Ja

I am developing a web-application, and google-chrome started behaving weird. When I make change in a JavaScript file, after I hit refresh on the debugger - I still see the same code in the debugger, and the browser executes this old code. Why is google-chrome behaving like this and how can I solve this?

I am developing a web-application, and google-chrome started behaving weird. When I make change in a JavaScript file, after I hit refresh on the debugger - I still see the same code in the debugger, and the browser executes this old code. Why is google-chrome behaving like this and how can I solve this?

Share Improve this question asked Feb 14, 2013 at 9:26 BelphegorBelphegor 4,77611 gold badges36 silver badges60 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 5
  1. Open Developer Tools, by right clicking and choosing "Inspect Element" or Ctrl/Cmd + Shift + J
  2. Click the Cog icon in the bottom right of that window.
  3. Choose the General Tab
  4. Tick "Disable cache"

This will disable Chrome from caching (locally storing) a copy of the js file

perhaps is a cache problem. try doing a cache refresh (ctrl-r, ctrl-f5). if you use cache.manifest file then you need to touch it in some way and double refresh your app for the changes to show.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745304039a4621605.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信