Difficulty use Flask-Cache : both filesystem and redis

Hey All,

I’ve been trying to set up a cache in my dash app and keep seeing KeyError: 'cache'
The way that I set up either caching is exactly as in https://dash.plot.ly/performance
Can anyone advise?

My app takes user input and creates a MySQL query and executes it. The custom query is generated via a dropdown input form the user and I was hoping to improve performance by incorporating caching.

1 Like