问题描述:
在微信小程序中使用web-view嵌入html网页后,当html中的内容发生改变后,用小程序打开却还是以前的内容,这是因为当前html进行了缓存。
前端解决方案:
在html页面设置如下代码,使其不缓存
<meta http-equiv="Cache-control" content="no-cache">
问题描述:
在微信小程序中使用web-view嵌入html网页后,当html中的内容发生改变后,用小程序打开却还是以前的内容,这是因为当前html进行了缓存。
前端解决方案:
在html页面设置如下代码,使其不缓存
<meta http-equiv="Cache-control" content="no-cache">