Performance issue with multiple Gallery widgets inside Tab Container in Mendix 11.3
0
We are experiencing a page performance issue after replacing Template Grid widgets with Gallery widgets.The page contains 12 tabs, out of which 5 tabs contain Gallery widgets. Each Gallery displays only 3 to 20 records using the same Association/Microflow datasource that was previously used with the Template Grid.Earlier, when the page contained only one Gallery and others are Template Grid, it loaded in approximately 1 to 2 seconds. After adding the additional Gallery widgets, the page load time increased to approximately 4 to 15 seconds.Is this expected behavior of the Gallery widget in Mendix 11.3?Are there any recommended approaches or known fixes to improve the performance in this scenario?
asked
Stella D
1 answers
0
You could monitor /xas/ requests in the browser inspector and see if anything stands out. Maybe hide/remove tabs and then readd them one by one to see if a specific gallery takes too much time. Maybe a search field that retrieves objects to search over associations is performing badly (make sure it lazy loads).
You could always wrap your tab contents in the In View Content Renderer widget to force lazy loading.