how can I force a browser to always load the newest version of index.htm when the page is loaded by entering the URL www.mydomain.com/index.htm or just www.mydomain.com in the browser's address field and pressing enter.
I'm trying this in Chrome and the newest version of index.htm is apparently only loaded, when I refresh manually (F5), or when the URL is already in the browser's address field and I press enter.
I guess I am doing something extremely stupid, because when I searched for the issue, all I could find were solutions about how to make a browser reload your .js and .css files by appending ?v=xxxx to the file names. But how should this work, if not even the newest version of index.htm page, in which I am doing these modifiactions, is loaded??
I also tried putting
<meta http-equiv="cache-control" content="no-cache">
in the <head>
of index.htm. But this does not seem to have any effect.
Any help would be greatly appreciated!
Thanks, Linus
question from:
https://stackoverflow.com/questions/26818091/force-browser-to-reload-index-htm 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…