Performance of Show Page or Toggle Conditional Visibility

I want a dropdown selector to select which of several (4-8) widgets is visible.   I have two possible designs in mind: An individual Page for each of the widgets which is shown when selected in the dropdown A single page with all of the widgets using conditional visibility to display them     Which design will be more performant in Mendix 9.6+?
1 answers


Depends on how much content is in each of the widgets.  If one of the widgets is a datagrid with thousands of rows, a separate page would be better.  If the widgets have a smaller amount of content, one page would work fine.  Keep in mind that having one page with all of the widgets and conditional visibility means that all content will load when the page loads, no matter what the conditional visibility is.  If this is not what you want (for security reasons perhaps), then use separate pages.


In my opinion, from a developer perspective, maintaining one page instead of several pages would be preferable.


Hope that helps,