Mini Program webview cache

for the web pages nested by webview in Mini Program, when the page is changed again, webview does not make corresponding changes, and trying to add a version number will not solve this problem.

Apr.07,2021

have you solved this problem? I have also encountered the same cache problem. Every time, you have to clear Wechat's data to


because even if you close Mini Program, it will still run in the background, so you perform some data reset or update operations during his life cycle. In order to solve this problem, for example, onShow is done when it appears, and some things can also be operated in the relative shutdown function


onShow : function(){
    this.onLoad()
}

forced refresh, tested to work, although the method is evil. The official has not given a solution for the time being


IOS set-> General-> Storage Space-> Clean Wechat cache, so that you can clear the cache in Mini Program's webview

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3eb06-409be.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3eb06-409be.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?