
Widget display optimization is a Workshop setting that controls when individual widgets mount and unmount as users navigate within a module. By default, widgets mount when they become visible and unmount when they leave the screen. This frees up browser resources when widgets are not in view but means that widgets must reload their data and rebuild their state every time a user navigates back to them.
Display optimization is an advanced feature. Eagerly mounting widgets or keeping them mounted when not currently in view consumes browser memory and can degrade module performance if applied broadly. Configure non-default display behavior only on the specific widgets where it is needed.
Adjusting widget display behavior is most useful for:
It is not recommended to change display behavior on widgets that are rarely revisited or hold no meaningful state. Note that display optimization settings are not supported in loop layouts.
Display optimization is controlled by two independent settings: a widget's mount behavior and its unmount behavior. The default values for each setting are tuned for most use cases, and the recommended approach is to leave them in place unless one of the scenarios above applies.
To set display behavior for a specific widget:
The configuration panel contains a short description and animation of each mode and disables options that do not apply to the selected widget or layout type.
The default display behavior is tuned for modules with many widgets across many pages or sections, where unmounting off-screen widgets keeps memory usage and rendering work bounded. When you opt a widget into staying mounted:
Use the Performance Profiler to measure the impact of widget display optimization changes on your module's load and reload times.