tencent cloud

Tencent Cloud Super App as a Service

ドキュメントTencent Cloud Super App as a Service

Storage

Download
フォーカスモード
フォントサイズ
最終更新日: 2025-02-24 17:10:39
Each mini program can have its own local storage. You can read, write, and clear local storage using the following APIs: setStorage/setStorageSync,getStorage/getStorageSync,clearStorage/clearStorageSync,removeStorage/removeStorageSync.

Isolation policy

Storage is isolated by user. On the same device, User A cannot read User B's data. Additionally, different mini programs cannot read or write each other's data. For the same user, the storage space for the same mini app can be up to 10 MB.

Cleanup strategy

The local cache is cleared at the same time as the code package. This means that local cache will only be cleared when the code package is cleared.




ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック