Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Status Needs Review
Workspace Domino Designer
Categories XPages
Created by Guest
Created on Apr 3, 2024

Reduce overhead/memory footprint when loading Style Sheet (CSS) resources for the Design tab

Opening an XPage file containing a large number of xp elements, CustomControls, and CSS styling rules causes Designer to take significantly longer to render all visuals in the 'Design' tab and thus becomes unresponsive until all rendering is complete.

I have an XPage that contains 40+ CustomControl tags (mostly repeats of singular ones) with a CSS file that's 6.5K lines long.
Rendering all of this upon opening the XPage causes abysmal loading times -- anywhere from 1.5 to 3.5 minutes on average -- until everything in the Design tab is fully rendered with every detail.

In my opinion, this prolonged waiting period just to open an XPage file is unreasonable -- especially to those who rarely (if ever) utilize the 'drag-and-drop' functionality of the 'Design' tab, and instead opt for editing the 'Source' tab directly.

Thankfully my team found a remedy:
Under File -> Preferences -> Domino Designer -> XPages, there is a checkbox to 'Prevent loading of Style Sheet (CSS) resources for the Design tab' that is unchecked by default.
Once this option was checked, opening the same XPage now takes 8 to 15 seconds at most -- loading roughly 90% faster than previous loading times on average.

My main idea here would be to implement one (or both) of these points:

  • Enable the 'Prevent loading of Style Sheet (CSS) resources for the Design tab' checkbox by default

  • The 'Design' tab should apply a more generalized (and less resource-intensive) visual representation of the XPage -- reducing the emphasis of showing minor CSS details.

    • Consider reducing resource cost for rendering elements in preview panel itself

I believe that if the above suggestions are implemented, these load times (and user frustration) will significantly decrease.

  • Attach files