Project

General

Profile

Actions

Improvement #11224

open

Simplify the /devices API call with requireDeviceInfo=true query parameter

Added by Arshana Atapattu 4 months ago. Updated 4 months ago.

Status:
New
Priority:
High
Assignee:
-
Start date:
27/05/2024
Due date:
% Done:

0%

Estimated time:
Device Type:
Component:
Type:
Platform

Description

Description

Improvement 1
In all devices page it takes lot of time to load the page. 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]

Note: for the above information look at the [3]'s bottom line

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 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]
[1]

[2]
[2]

[3]
[3]


Files

image.png (19.7 KB) image.png [1] Arshana Atapattu, 27/05/2024 09:56 AM
Screenshot from 2024-05-27 15-33-08.png (127 KB) Screenshot from 2024-05-27 15-33-08.png [2] Arshana Atapattu, 27/05/2024 10:17 AM
Screenshot from 2024-05-27 15-37-16.png (506 KB) Screenshot from 2024-05-27 15-37-16.png [3] Arshana Atapattu, 27/05/2024 10:33 AM
Actions #1

Updated by Arshana Atapattu 4 months ago

Actions #2

Updated by Arshana Atapattu 4 months ago

  • Description updated (diff)
Actions

Also available in: Atom PDF