Skip to main content
Help us improve Python packaging – donate today!

Adds redis cluster caching support to the Flask Cache(ing) extension

Project Description

PyPI version Travis CI Code Climate Test Coverage

Implements a redis cluster backend for Flask-Cache(ing) as the standard redis cache cannot handle a redis cluster.

Usage

from flask import Flask
from flask_caching import Cache
app = Flask(__name__)


class Config(object):

    CACHE_TYPE = 'flask_cache_redis_cluster.rediscluster'
    CACHE_REDIS_HOST = 'redis'
    CACHE_REDIS_PORT = 6379
    CACHE_KEY_PREFIX = '<your prefix>'
    # ... other options


app.config.from_object(Config)
cache = Cache(app)

Release history Release notifications

This version
History Node

0.0.5

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
Flask-Cache-Redis-Cluster-0.0.5.tar.gz (3.0 kB) Copy SHA256 hash SHA256 Source None Apr 11, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page