Too slow loading when openning dialog | Community
Skip to main content
March 20, 2024
Solved

Too slow loading when openning dialog

  • March 20, 2024
  • 2 replies
  • 1226 views

Hello, 

The dialog for the component, which contains three levels of nested multifields with approximately 150 filled items, experiences significant latency, taking around 10 minutes to open

 

Upon inspecting the browser's Network tab while opening the dialog, and it seems like there are a ton of requests being sent out (more than 30), but they're all coming back with the same responses.

 

It seems like there's something causing the system to generate way more requests than necessary, which is obviously slowing everything down.

 

Could you please advise on how to address this issue?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by EstebanBustamante

Hi,

 

Firstly, I would recommend double-checking if there's any flexibility to alter how the component functions. It seems unnecessary to have three levels of multifield, which could result in a poor design and user experience. Secondly, I suggest tracking where these calls are being triggered to identify any issues with the multifield configuration, rendering, or functionality. Personally, I haven't encountered this problem before.

Hope this helps

2 replies

EstebanBustamante
Community Advisor and Adobe Champion
EstebanBustamanteCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
March 20, 2024

Hi,

 

Firstly, I would recommend double-checking if there's any flexibility to alter how the component functions. It seems unnecessary to have three levels of multifield, which could result in a poor design and user experience. Secondly, I suggest tracking where these calls are being triggered to identify any issues with the multifield configuration, rendering, or functionality. Personally, I haven't encountered this problem before.

Hope this helps

Esteban Bustamante
March 22, 2024

In the third-level multifield, using richtext has led to excessive requests. Thank you for your advice

anupampat
Community Advisor
Community Advisor
March 20, 2024

Hi @margaritageg ,

 

If you are loading a lot of data on a dialog, I suggest to not load all of them at once, you will have to customize the data load on the dialog with Javascript - Possibly how pagination works, lets say 10 or 20 fields at a time. The based on a user action, click of a button or on scroll load the next set of data. This should give a better authoring experience and the browser won't freeze.