Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

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
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.