tencent cloud

Tencent Cloud Super App as a Service

Storage

Download
Focus Mode
Font Size
Last updated: 2026-05-13 18:06:33
Each Weixin Mini Program has its own local cache. You can read, write, and clear the local cache via wx.setStorage/wx.setStorageSync, wx.getStorage/wx.getStorageSync, wx.clearStorage/wx.clearStorageSync, and wx.removeStorage/wx.removeStorageSync.

Isolation Policy

The storage limit of a Mini Program is 10 MB for a Weixin user. Storage is isolated based on users. On the same device, user A cannot read the data of user B. A Mini Program's user cannot read or write data of another Mini Program.

Erasion Rules

Local cache files are erased only when the code package is erased.


Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback