Voltaire
Posts: 0
Joined: Thu Apr 09, 2015 8:48 pm

Appery Models always refreshing when launching the app

Hi, I am using a local model with array , to manipulate parent and child pages, the rest is linked to local model, and then list is refreshed from the model, I realized that whenever I launch my application, the model is always refreshing, it is not using its local data or local cached images, although when refreshing the list page, it takes not more that 1 second to refresh (like it is comparing the rest data and the model), is there a way to speed up the launching of the app by using or comparing the model and the data being received. Like updating and comparing ??
Please if I did not make my idea clear, I can provide with screenshots or samples.

Voltaire
Posts: 0
Joined: Thu Apr 09, 2015 8:48 pm

Appery Models always refreshing when launching the app

What I meant is why the model is being erased when launching the app, and then when refreshing the same page, it won't take that time. Can we keep the data in the model ? and only updating it when launching instead of building it again ??

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

Appery Models always refreshing when launching the app

Hello,

Do you use storage's variable's "localStorage" type? Could you show us all JS code and services with it?

Voltaire
Posts: 0
Joined: Thu Apr 09, 2015 8:48 pm

Appery Models always refreshing when launching the app

If I share my app with the support, can you check what am talking about ?
Please if you can.

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

Appery Models always refreshing when launching the app

Please share (http://devcenter.appery.io/documentat...) your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and provide us with the following information:

1) App name
2) Test credentials if login functionality is implemented in your app
3) Detailed steps to reproduce the issue

Voltaire
Posts: 0
Joined: Thu Apr 09, 2015 8:48 pm

Appery Models always refreshing when launching the app

I did share the app and sent an email to support , ticket id is #14807

Thanks a lot Sergiy.

Regards;

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

Appery Models always refreshing when launching the app

As I can see - you run services on the load event, which refresh your storage variables.

Return to “Issues”