Home >WeChat Applet >Mini Program Development >How to clear app cache on mobile phone

How to clear app cache on mobile phone

王林
王林forward
2021-02-04 08:32:269285browse

How to clear app cache on mobile phone

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

How to clear app cache on mobile phone

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:

How to clear app cache on mobile phone

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!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete