Cache manifest offline app not refreshing javascript files in Chrome
问题 I am working on an offline web app using a cache manifest file. I am having trouble refreshing my javascript files. If I change a .js file (which is listed in the manifest file) and I then change the manifest file version no. and save it, then the changed .js file does not get reloaded on the client. What do I have to do to get .js files to refresh? Thanks 回答1: That's because the webserver tells the browser cache static files for a few hours. So the browser doesn't know the manifest file is