increase jinja2 template cache limit from 50 to above. to speed up flask app significantly source: One line of code cut our Flask page load times by 60% (Medium)
Use case of flask:
Use Flask as database, so data can persist.
Display dashboard data. Create dashboard
Alternative to flask : fastAPI