We found that changes in Eclipse does not work after frequent modifications JS

After modifying JS finding revision does not work: pay attention to clean up your browser's cache. js files generally are cached, then take the data from the cache before the data is in the cache.

Note that cleaning up the browser cache js file:
F12 --- network --- see page from cache, not the modified file.
Then, click on the fifth small icon, clear the cache.
Then file after modification work:
I can see is not got in the cache. Then modify the js file to play a role
 
 
After modifying the jsp file does not work: there is no recompilation
After restarting tomcat, re-packaged and re-compile. It worked.
If the restart tomcat does not work, to try to clear the cache, according to the above steps.

Guess you like

Origin www.cnblogs.com/zhishuiyushi/p/11239178.html