How to force IE to reload javascript?

后端 未结 10 1380
清酒与你
清酒与你 2020-12-12 20:41

I\'m using IE 8 on Vista, and everytime I change a javascript file and then start debugging, I have to hit Ctrl+F5 to have it reload my javascript. Is there any way to make

10条回答
  •  心在旅途
    2020-12-12 21:18

    In javascript I think that it is not possible, because modern browsers have a policy on security in javascripts.. and clearing the cache is a very violating one.

    You can try to add

    
    

    In your header, but you will have performance loss.

提交回复
热议问题