Usage

disable_notifications()

Description
Temporarily disables the Websocket Broadcast notifications for the Structr Backend UI. This method can be used to prevent the broadcasting of large modification operations which greatly reduces the processing time for such large operations. If you experience very slow (i.e. more than 10 seconds) object creation, modification or deletion, try to disable notifications before executing the operation. See also enable_notifications().

Note

This can be done on a per-request basis by sending the custom HTTP header Structr-Websocket-Broadcast with a value of disabled along with the request.

Graph-Browser

About this article
Last change 2018-06-07
Topics FrontendFunctionsStructr 2.0