Cache JSX rendered output #447
Labels
🖰 GUI
Related to GUI
📈 Improvement
Improvement of a feature.
🟩 Priority: Low
Low priority and doesn't need to be rushed
Description
Due to the introduction of _DataScopes, the render output in Page (PageRenderer) cannot be cached. Each time a new user comes in, the render methods is responsible for initializing all of the data in the user scopes. This is hugely unoptimized, but since the current approach has no visible impact on the performace, we might want to deal with this later down the line.
One possible solution to this problem is to cache the variable list and the expression list when the page is initiallly rendered and re-evaluated + apply to a new scope when a new user comes in.
Acceptance Criteria
The text was updated successfully, but these errors were encountered: