页面中防止缓存的解决方法
                (编辑:jimmy 日期: 2025/10/31 浏览:3 次 )
            
            
            解决方案: 
在<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'>
            在<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'>
下一篇:网页制作需要掌握的6种能力小结