This impliments a redis cluster backend for Flask-Cache as the standard redis cache cannot handle a redis cluster.
class Config(object):
CACHE_TYPE = 'src_dir.flask_cache_redis_cluster.rediscluster'
CACHE_REDIS_HOST = 'redis'
CACHE_REDIS_PORT = 6379
CACHE_KEY_PREFIX = '<your prefix>'
# ... other options