This is a migrated thread and some comments may be shown as answers.
What files does LiveSync sync?
1 Answer 10 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
UIdev
Top achievements
Rank 1
UIdev asked on 22 Oct 2014, 06:39 AM
I have been developing an app in AppBuilder and testing it on an iOS device.  I've been refreshing tons using LiveSync, so I have a good sense of how fast LiveSync should be.  Tonight, I added a few hundred files to my project.  The first time I synced the project after adding those files, it took a while to download onto my phone, which was totally fine and expected.  However, in subsequent LiveSync refreshes (after I've only changed, say, one html file), the download time is still very slow.

This leads me to the question: what files does LiveSync actually sync when I do a three-finger refresh?  Does LiveSync only download the files that have been changed since the last time I did an update, or does it just re-download all the files in my project?  I think it should behave like the former, but the change in download speed I've experienced suggests it's the latter.  (Of course, there could be some other factor causing the slowdown, and it's just a strange coincidence it happened after I added a bunch of files).  Thank you for your time!

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 24 Oct 2014, 04:19 PM
Hi David,

The delay is probably caused by the number of synced files. The livesync functionality at the moment downloads all files which can sometimes really be more time consuming. We also realize that this livesync implementation is not really traffic efficient and we are investigating different options for tracking the files which were last changed. Our goal is to allow the livesync to only download the modified files, which as you noted would be better. However, as we are in the early stages of discussing and exploring different options for this change I cannot yet bind to any specific time frames.

Regards,
Tina Stancheva
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
General Discussion
Asked by
UIdev
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or