Scan the QR code to communicate with the project manager
We are waiting for your voice 24 hours a day on WeChat
Answer questions in this article/Technical consultation/Operation consultation/Technical advice/Internet communication
At present, the cache data obtained by wx.setStorage of the WeChat applet is saved "persistently", not "permanently". Once obtained, it will exist on the client unless the applet is actively destroyed or deleted from the client. That is, you delete this mini program in the "WeChat-Discover-Mini Programs" list.
Currently, this API cannot directly set the cache time, but it can achieve timeout processing through certain processing. For details, please refer to the technical article "WeChat Mini Program wx.setStorage Data Cache to Implement Cache Expiration Time" previously published by the Weiji Network team.

We are waiting for your voice 24 hours a day on WeChat
Answer questions in this article/Technical consultation/Operation consultation/Technical advice/Internet communication