一、这种会让所有的css/js资源重新加载
<meta http-equiv="pragram" content="no-cache">
<meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate">
二、加时间戳
每次引入,后面版本号都不一样,达到刷新缓存效果
<script >document.write('<script src="./static/config.js?_=' + new Date().getTime() + '"><\/script>');
</script>