Shorten time between two server queries

Hello.

I need to shorten the time between two server requests. Each time it takes about 2 seconds. It is too long.
For example, I have an app that lets you add numericInput. You have to wait two seconds between each addition. I see that it is an imposed delay because when I press the add button several times, the server records my clicks and gives me the number of inputs corresponding to the click. Only this is done roughly after the two seconds.

It seems that my problem is queuing too long.

We don't have enough information to directly address your issue.
You could investigate profiling shiny apps (use of profvis etc.) to understand timing issues; you might also think about making a reprex for your problem.

reprex

Oh I can give more precisions.
Fist of all, thank you for your answer.

The issue comes only with GoogleChrome. On Safari it's perfect, no queuing.
The issue is about the xhr_send.

You can test by your self on my website shiny.sekrane.fr/opt2


Okay guys. I just figure it out... You will never believe the reason !

The delay time is due to the display of the Google Chrome dev box.
When the Google Chrome Developer Tools is not displayed, there is no delay!!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.