Superset uses Flask-Cache for cache management and Flask-Cache provides support for many backend implementations that fit different use cases.
Redis is the recommended cache backend for Superset. But if you do not expect many users to use your Superset installation, then FileSystemCache is a good alternative to a Redis server.
The following are some of the cache implementations that are available, with a description and their configuration variables:
CACHE_TYPE
|
Description and configuration
|
simple
|
Uses a local Python dictionary to store results. This is not really safe when using multiple workers on the web server. |
filesystem
|
Uses the filesystem to store cached values. The CACHE_DIR variable is the directory path used by FileSystemCache. |
memcached
|
Uses a memcached server to store values. Requires the pylibmc Python package installed in the... |