Optimized Dashboard Widget Loading

Optimized Dashboard Widget Loading

Overview

  1. To improve dashboard navigation and page access performance, an optimized widget loading mechanism has been introduced.
  2. With this enhancement, widget API calls are processed in controlled batches instead of triggering all widget requests simultaneously when a dashboard page is opened.
  3. This helps improve resource utilization and enhances overall dashboard responsiveness during navigation.

Functionality

Batch-Based Widget API Execution
When a dashboard page is accessed:
  1. Widget API calls are triggered in batches of 10 widgets at a time.
  2. The next batch of widget API calls is initiated only after the current batch processing progresses.

Benefits
  1. Reduces simultaneous server load.
  2. Improves dashboard responsiveness.
  3. Optimizes browser and network resource utilization
  4. Enhances dashboard accessibility performance for pages containing large numbers of widgets.

Automatic Cancellation of Pending Widget API Calls

If the user switches to another dashboard page while widget APIs are still being processed:
  1. Pending and in-progress widget API calls for the previous page are automatically cancelled.
  2. Further widget API calls for widgets on the previous page will not be triggered.


Benefits
  1. Prevents unnecessary API execution for inactive pages.
  2. Improves navigation speed between dashboard pages.
  3. Reduces unnecessary backend and browser resource consumption.
  4. Ensures system resources are utilized efficiently for the actively viewed dashboard page.


Notes
  1. This functionality is automatically enabled as part of dashboard performance optimization.
  2. No additional user configuration is required.
  3. The optimization applies during dashboard page access and navigation scenarios.