Persist list data where


Defines where data should be persisted in an application. Data can be persisted to Local Storage or a device's file system (Cordova applications only.)


Specify if data should be persisted to the file system (rather than Local Storage) if running a Cordova application. When data is stored to 'LocalStorage', a maximum of 5MB of data can be stored. Cordova applications can take advantage of the device's file system using the 'FileSystem' option, allowing more than 5MB of data to be stored when the application is offline.

If 'FileSystem' is chosen and the application is not running in Cordova, the data will be persisted to Local Storage.

The Persist where property can be set to one of the following options:


Persist data to Local Storage. Local Storage can store up to 5MB of data total for an application.


Persist data to the File System. This option is only available for Cordova applications and Alpha Launch applications. If you are building a mobile Cordova or Alpha Launch application, persisting data to the File System is recommended.


Persist data to IndexedDB. IndexedDB offers significantly more storage space than Local Storage, up to 1GB or more depending on the browser. This option is recommended for web apps, mobile web apps, and progressive web apps.

See Also