防止策略:
1.加上版本號 , 問號後面不影響解析(推薦)
<link rel="stylesheet" type="text/css" href="/css/style.css?version=1.8.9"/>
2.直接html禁止 , 但是支持的瀏覽器少
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/>
防止策略:
1.加上版本號 , 問號後面不影響解析(推薦)
<link rel="stylesheet" type="text/css" href="/css/style.css?version=1.8.9"/>
2.直接html禁止 , 但是支持的瀏覽器少
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/>