Timo Sehrbruch
Posts: 0
Joined: Thu May 09, 2013 7:41 pm

Data takes long time to load from storage

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.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Data takes long time to load from storage

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?

Timo Sehrbruch
Posts: 0
Joined: Thu May 09, 2013 7:41 pm

Data takes long time to load from storage

off course, i use these settings:

Image

Timo Sehrbruch
Posts: 0
Joined: Thu May 09, 2013 7:41 pm

Data takes long time to load from storage

The total load time at the preview is 1.3 minutes.

Timo Sehrbruch
Posts: 0
Joined: Thu May 09, 2013 7:41 pm

Data takes long time to load from storage

maybe there is a tweak or a better option to load the images from the storage? Image

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Data takes long time to load from storage

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/...

Timo Sehrbruch
Posts: 0
Joined: Thu May 09, 2013 7:41 pm

Data takes long time to load from storage

but is a db then also included in the app itself? I dont want people to require an active internet connection.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Data takes long time to load from storage

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.

Timo Sehrbruch
Posts: 0
Joined: Thu May 09, 2013 7:41 pm

Data takes long time to load from storage

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.

Return to “Issues”