-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Why?
We use Statamic (v5.69.0) as a headless CMS and do the rendering of pages via another application.
It can take some time to execute the render however, so we would like to customize the debounce of the live preview.
I looked into the source code of Statamic and it seems like this value is hardcoded at 150ms, which is pretty extreme for our application. For context, it takes Statamic a couple of seconds to send us the live preview data for complicated pages and then takes our application about 0.5 second to render it all.
It would be nice if this value could be customized, so we can slow down the amount of requests we get and thus decrease server load.
Preferred solution
Maybe add a debounce_time configuration value to the live_preview.php configuration file?
Relevant code
Related issues
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels