Project

General

Profile

Improvement #11224

Updated by Arshana Atapattu 6 months ago

*Description* 

 *Improvement 1* 
 In all devices page it takes lot of time to load the page. The reason is the /devices API call is    called with the    requireDeviceInfo=true query parameter. 
 when the    requireDeviceInfo is true it load the all data (all the device info, properties and even the application list) [1] 

 Need to simplify this. 

 Note: this is for the 100 devices: [2] 
 if on a slow connection this is taking a considerable time. 
 
 *Improvement 2* 
 There are redundant API calls when the all devices page load. 
 the total size of resources load for tat page is close to 9MB. [3] 

 When on a slow connection the page is taking long time. 
 On a speed connection also the page took around 12-15s to load. 

 There are API calls for users(users/list), 2 API(same) calls for groups(groups/hierarchy) and 3 same configuration API calls(/configuration) and 3 features API calls. 
 Need to remove any unwanted API calls when the page is loading. These API calls can load when it is needed. 


 
 


 [1] 
 !image.png! 

 [2] 
 !Screenshot%20from%202024-05-27%2015-33-08.png! 


 [3] 
 !Screenshot%20from%202024-05-27%2015-37-16.png! 

Back