Page 1 of 1
Data takes long time to load from storage
Posted: Mon Aug 17, 2015 8:44 am
by Timo Sehrbruch
Hey there. For my new app version I integrated all needed images right into the project. I stored the images hereunder:
WEB_RESOURCES/files/views/assets/images/folder
and load them via XML in echo mode. So (correct me if i am wrong) all data is included in my final build, right?
but the output/view takes like 50-60 seconds to load.
Data takes long time to load from storage
Posted: Mon Aug 17, 2015 8:10 pm
by Serhii Kulibaba
Hello Timo,
Yes, all files from this folder are included in the app. What images pathes do you use in echo mode? (local, remote). Could you show us screenshot?
Data takes long time to load from storage
Posted: Tue Aug 18, 2015 8:06 am
by Timo Sehrbruch
off course, i use these settings:
Data takes long time to load from storage
Posted: Wed Aug 19, 2015 8:17 am
by Timo Sehrbruch
The total load time at the preview is 1.3 minutes.
Data takes long time to load from storage
Posted: Thu Aug 20, 2015 9:23 am
by Timo Sehrbruch
maybe there is a tweak or a better option to load the images from the storage?
Data takes long time to load from storage
Posted: Thu Aug 20, 2015 8:55 pm
by Evgene Karachevtsev
Hello Timo,
It's better to store images in a db, if you have large number of them. Also this post may be useful for you:
https://getsatisfaction.com/apperyio/...
Data takes long time to load from storage
Posted: Fri Aug 21, 2015 8:44 am
by Timo Sehrbruch
but is a db then also included in the app itself? I dont want people to require an active internet connection.
Data takes long time to load from storage
Posted: Fri Aug 21, 2015 10:06 am
by Illya Stepanov
Hi Timo -
No, Appery.io Database is not included in the app. If you need database available offline you may consider to use IndexedDB (https://developer.mozilla.org/en-US/d...) or SQlite (http://sqlite.org/) in your app.
Data takes long time to load from storage
Posted: Fri Aug 21, 2015 11:22 am
by Timo Sehrbruch
Yes, I need to keep all data also available when no Internet connection is given. Although the data ist 120meg sized, it is not a very user friendly option to load it via mobile data.