Offline mode
Learn how to configure Retool Mobile apps for offline use.
| Offline Mode Availability | |||
|---|---|---|---|
| Cloud | Generally Available | ||
| Self-hosted Edge 3.36 or later | Generally Available | ||
| Self-hosted Stable 3.33 or later | Generally Available | ||
Offline mode makes it possible for Retool Mobile apps that run natively to continue functioning without a data connection. When enabled, queries that read data can cache the most recent results to make them available offline. Queries that write data are held in a queue and run once the data connection is restored.
Considerations
If you plan to use offline mode, keep in mind the following considerations.
Read queries only cache data when viewed by the user
Queries configured to read data for offline mode only cache data when the user views the results. The user must navigate to screens and view the query data at least once while connected.
If you need to download data in advance, consider using localStorage to temporarily download data that can be accessed when offline.
Write queries run sequentially
Queries configured to write data in offline mode run sequentially when the connection is restored. If one query fails due to a conflict, the user must resolve it before any remaining queries can run.