-
通过设置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" />
-
通过script引入的js文件
<script type="text/javascript"> const now = new Date().getTime(); document.write( `<script src="../js/cookie.js?t=${now}"><\/script>` );
jsp、jquery项目缓存控制
最新推荐文章于 2022-07-28 10:12:06 发布