You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the frontend library syncs with the backend, the server currently responds with all actionClasses (survey triggers) that have ever been created. This approach has several drawbacks:
Reduced Network Bandwidth: Sending only the relevant triggers connected to currently running surveys can reduce the amount of data transferred, leading to faster sync times and lower bandwidth usage.
Reduced Client Overhead: Limiting the triggers to those that are actively connected to surveys will reduce the processing load on the client side, making the application more efficient and responsive.
Enhanced Security: Sending only relevant triggers minimizes the risk of exposing information about past research projects, making it harder for malicious parties to spy on historical data.
Expected Behavior
The backend should respond with only the actionClasses that are associated with surveys currently in progress and filter out the rest. To reduce server load you might want to consider a flag is_active directly in the database that makes it faster to query active actionClasses.
Other information (incl. screenshots, Formbricks version, steps to reproduce,...)
No response
Your Environment
Self-hosted Formbricks
The text was updated successfully, but these errors were encountered:
Issue Summary
When the frontend library syncs with the backend, the server currently responds with all
actionClasses
(survey triggers) that have ever been created. This approach has several drawbacks:Expected Behavior
The backend should respond with only the actionClasses that are associated with surveys currently in progress and filter out the rest. To reduce server load you might want to consider a flag
is_active
directly in the database that makes it faster to query active actionClasses.Other information (incl. screenshots, Formbricks version, steps to reproduce,...)
No response
Your Environment
Self-hosted Formbricks
The text was updated successfully, but these errors were encountered: