- Issue created by @mdeahmad
- 🇮🇳India mdeahmad Mumbai
mdeahmad → changed the visibility of the branch 3480439-unnecessary-invocation-of to hidden.
The init.js
script is invoking the sitewide_alert/load
route on every request, even when there is no active sitewide alert. This unnecessary invocation increases server load and can impact server costs due to the repeated route calls, even when no alert needs to be displayed.
sitewide_alert
feature is enabled.sitewide_alert/load
is called, even when no alerts exist.Modify the code logic to conditionally invoke the sitewide_alert/load
route only when an active sitewide alert entity is present. This can be done by checking whether there are any active sitewide alerts before initiating the init.js
call to the sitewide_alert/load
route.
I am working on to add a patch for that.
Active
2.2
Code
mdeahmad → changed the visibility of the branch 3480439-unnecessary-invocation-of to hidden.