页面中防止缓存的解决方法

页面中防止缓存的解决方法,第1张

页面中防止缓存的解决方法 解决方案:
在<head>中加上以下代码,

复制代码代码如下:
<base target="_self">
<meta http-equiv='pragma' content='no-cache'>
<meta http-equiv='Cache-Control' content='no-cache, must-revalidate'>
<meta http-equiv='expires' content='0'>

欢迎分享,转载请注明来源:内存溢出

原文地址: https://www.outofmemory.cn/web/620434.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-15
下一篇 2022-04-15

发表评论

登录后才能评论

评论列表(0条)

保存