The best way to clear the Mini Program cache:
First open WeChat, click "Me", then click "General", "Storage Space", "Clear" "Just cache.
Method 1: Clear the cache in the development version or trial version
Open the development version or trial version, clear the cache as shown below (click vConsole WeChat in -> wx.clearStorage()):
Method 2: Delete the mini program (invalid for recently used mini programs)
The mini program will store data locally. When the server After the data is updated, the old data is usually displayed on the mini program. If you click the close button in the upper right corner and open the mini program again, there will be no update. How can I completely clear the cache data of the mini program?
Here is how to clear the cache: Open WeChat's "Discover" -> "Mini Programs". Here you will see a list of used mini programs. The mini program you just opened is at the first position. Deleting the applet here will completely clear the cache. The method to delete the mini program is:
Android phone: long press to see the menu with the delete button.
iPhone: Drag to the left, as shown below:
Method 3: Log out/log in to WeChat to clear the mini program immediately and completely.
Related recommendations: Mini Program Development Tutorial
The above is the detailed content of How to clear app cache on mobile phone. For more information, please follow other related articles on the PHP Chinese website!