平常调试的时候总是因为缓存问题有些浪费时间,加上这几行代码就ok了
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Cache" content="no-cache">
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
时间: 2024-11-04 22:59:51