微信页面缓存:在B页面操作数据后跳转回A页面,这个时候A页面里被B操作后的数据,依然是旧的,完结

看到网上很多这个说法,于是我呆萌呆萌的左右手慢动作跟着做:

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

依然无解,bug在那头,你在这头,驻足相望。知道我发现了这种很low的方法:就是在连接后加上随机数,类似时间戳这样的,例如:www.baidu.com?v=888

评论

暂无评论