微信清除缓存的两种方法

xiaoxiao2021-02-28  107

网址清除

微信浏览器打开网址“http://debugx5.qq.com”,勾选如下设置:

点击“清除”按钮即可。

代码清除

如果是自己写的网页,在调试阶段希望不要缓存,可以在html页面的head中加入如下代码:

<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" />

那么,微信浏览器页面就会禁止缓存。

转载请注明原文地址: https://www.6miu.com/read-64981.html

最新回复(0)