Improving Shortcode render (due extra requests to the server)

Dear Support,

I realized that Bricks sends an AJAX request to the server for each character typed in the Shortcode content, I assumed it is listening for the “oninput” event of the field.

IMO that is very expensive for the purpose, imagine if I have to type 100 characters for the shortcode requirements, 100 requests will be sent to the server.

I would propose to add a “Save content” button next to the shortcode content field and send a single request when the save button is clicked.

I hope my suggestion helps
Thanks

Perhaps a better approach would be a default delay / wait before sending the request?

2 Likes

We decided to implement this. It will be done soon.

1 Like