Normally for .js
and .css
file we will append a version during build like
xx.js?v=123
, and then after website deploy, we can get the new version of js and CSS. But I don't see a place talking about how to make the index.html
file upgrade when website deployment happen. And we do see in IE that the HTML content should have been changed but it still use the old HTML content.
One solution I find from google is to
<meta http-equiv="Cache-control" content="no-cache">
However, I am not sure whether this is the best solution?