有两种方式强制页面不缓存:
1.手动添加版本号
<link rel="stylesheet" type="text/css" href="/css/user.css?v=201806251715" /> <script src="/js/userinfo.js?v=201906223715"></script>
2.添加meta标签
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /> <meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Expires" content="0" />