# Storage
Each Mini-Program can have its own local cache. You can read, write, and clear the local cache using ft.setStorage, ft.getStorage, ft.clearStorage, and ft.removeStorage.
# 1. Isolation Strategy
Storage is isolated by user dimension. On the same device, User A cannot read data from User B; different Mini-Programs also cannot read or write each other's data.
# 1.1 Plugin Isolation Strategy
Same Mini-Program using different plugins: Storage is not shared between different plugins, nor between plugins and the Mini-Program. Different Mini-Programs using the same plugin: Storage for the same plugin is not shared.
# 2. Cleanup Strategy
The cleanup timing for the local cache is the same as for the code package. The local cache is only cleared when the code package is cleaned up.