Jump to: navigation, search

Changes


Fast Startup (Client)

1,426 bytes added, 15:35, 11 April 2017
{{UBIK}} caches all the local content (which exist on the device) in the devices' memory for fast access. However, as the number of objects grows, the device might become less responsive because of the large memory consumption. Also, the initial loading will take a considerable long time. Therefore, a lazy loading feature {{Version/AndroidSince|2.4.0}}{{Version/WinXSince|2.5.4}} is Certain optimizations are added to allow some parts of the content to be loaded on demandovercome these problems.
== Setting Optimization regarding object loading (WinX client) {{Version/WinXSince|2.6.1}} ==[[File:UI_WinX_Fast_Startup_Content_NavButtons.png|thumb|alt=Disabled Scan Button|Disabled Scan Button]][[File:UI_WinX_Fast_Startup_Content_SearchBar.png|thumb|alt=Disabled Search Bar|Disabled Search Bar]][[File:UI_WinX_Fast_Startup_Content_SyncModeSwitcher.png|thumb|alt=Disabled Sync Mode Switcher|Disabled Sync Mode Switcher]][[File:UI_WinX_Fast_Startup_Content_ContextButtons.png|thumb|alt=Disabled Branch Download Button|Disabled Branch Download Button]]In a lot of scenarios, users want to log into the app and start browsing through the object hierarchy as soon as possible. To offer better efficiency for these users, {{UBIK}} divides the loading of all local objects into two phases during the initial loading.* First, the essential objects including the root and the infrastructure are loading during the login process;* Then, the login finishes and the user gets to use some basic features of the app while the rest of the objects are being loaded in the background;* Once the background loading is finished, all the previously unavailable features will function properly.The temporarily unavailable features mentioned above include:* Alternative view* Search* Scanning* MRO related status* Modifying objects (including all special objects such as MRO)* Updating or committing objects* Sync mode switching* Branch download == Optimization regarding property loading{{Version/AndroidSince|2.4.0}}{{Version/WinXSince|2.5.4}} ==
On the Android client, a [[UBIK Client Basics#Options|setting]] is provided to control how content is cached in the memory.
{{Attention|The default value for this setting is [[Memory Usage (Android)#Lazy loading|lazy loading]].}}