lundi 6 février 2017

Ember data localStorage/localForage change max size storage

Is there a way to change the max size of the storage in ember-data? At this point there's really no indication you can up it.

The documenation of localForage itself shows you can, but I can't seem to find anything about ember-data. Maybe in the ENV file?

localforage.config({
 size        : 4980736, // Size of database, in bytes. WebSQL-only for now.
 storeName   : 'keyvaluepairs', // Should be alphanumeric, with underscores.
});




Aucun commentaire:

Enregistrer un commentaire