WebApp Popup display first time delay

Hi,

In our web app (version 10) we have thousands of divs (large table) that on click shows details for an item in a popup. All works fine except that very first time you click on div popup takes few seconds to load. After that other popups load almost immediately - it has simple preparation that just gets item details.

What can be the reason for that and a trick to fix it?

Thanks

Hi Mykola,


What are you passing as an input to the popup? The best practice for performance is pass Id's.

In the preparation, did you limit the aggregate (if you have it) to 1 in max records?


Hope this can help you. If you can share with us more details it's fantastic.


Regards,

Ricardo

Hi Ricardo, 

Yes I'm passing only id and have 1 record result. It works fast with any task popup except the one clicked first time. 

Mykola (Nick) Tkachenko wrote:

Hi Ricardo, 

Yes I'm passing only id and have 1 record result. It works fast with any task popup except the one clicked first time. 

Do you have some other action running in the same flow or some kind of validation?