Redis caching

The Redis-based cache engine provides flexible, powerful storage for computed reports. It is currently the recommended caching option for anything beyond a simple dev environment.


The Redis cache requires Redis and its Python bindings to be installed. See Installation for details.

class blingalytics.caches.redis_cache.RedisCache(**kwargs)

Caches computed reports in Redis. This takes the same init options as the redis-py client. The most commonly used are:

  • host: The host to connect to the redis server on. Defaults to 'localhost'.
  • port: The port to use when connecting. Defaults to 6379.
  • db: Which Redis database to connect to, as an integer. Defaults to 0.

Previous topic

Cache stores

Next topic

Filesystem caching

This Page