Apr-05-2020, 03:46 PM
I agree with @ndc85430 that need more information about the task.
Usually you don't want template to be rendered each time
Can update result with eg AJAX,then do not need to reloading/render template each time.
Other way Flask-SocketIO with socket.io on the client side,if need a more advance bidirectional communication.
Look at this post.
So there i am using AJAX to get value from server that eg could be your
Usually you don't want template to be rendered each time
result
will be updated.Can update result with eg AJAX,then do not need to reloading/render template each time.
Other way Flask-SocketIO with socket.io on the client side,if need a more advance bidirectional communication.
Look at this post.
So there i am using AJAX to get value from server that eg could be your
result
every 10-sec.