Skip to content

Conversation

@YKWeyer
Copy link

@YKWeyer YKWeyer commented Sep 25, 2025

We're currently investigating workload increase / performance declines when using form conditions.

One small improvement would be to avoid processing all the form fields when there are no conditions set for that form. Let me know if you also see it as an improvement.


Sidenote: I think ultimately it would make sense not to perform XHR call to the ConditionService for forms that have no conditions set. That information might be included in the <form> object itself (e.g. over a class or a data- attribute).
If we'd rather not change the view, the JS might at least be updated to stop sending further queries to the ConditionService for forms on which we already got an empty array as a response (=> no conditions for the form). That would reduce the load to the Service to one call for each form, instead of one call for each modified input.

@nalmar
Copy link

nalmar commented Nov 27, 2025

see my #117

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants