I have a small python Flask application, which provides data for a basic HTML/Jinja frontend. It works perfectly fine to pass the data to the HTML file and iterate over it by using the Jinja template syntax. My problem is, that the served data can change any time, as the application is about showing kitchen staff what the customers ordered and there are new orders every few minutes.
So, now my question: Is there any way to check if a variable passed to a Jinja template from a Flask backend has changed? And if so, what's the best way to implement this?
I've already been through the Jinja docs, but found nothing.
Thanks in advance.