Django-redis-cache

Latest version: v3.0.1

Safety actively analyzes 685670 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

1.3.0

-----

* Adds support for pluggable serializers including pickle(default), json,
msgpack, and yaml.

1.2.0

-----

* Deprecate support for Python 2.6. The cache should still work, but tests
will fail and compatibility will not be guaranteed going forward.

**Backward incompatibilities:**

* The ``HashRing`` behavior has changed to maintain a proper keyspace balance.
This will lead to some cache misses, so be aware.

* Now requires `redis-py`_ >= 2.10.3

1.0.0

-----

* Deprecate support for django < 1.3 and redis < 2.4. If you need support for those versions,
pin django-redis-cache to a version less than 1.0, i.e. pip install django-redis-cache<1.0
* Application level sharding when a list of locations is provided in the settings.
* Delete keys using wildcard syntax.
* Clear cache using version to delete only keys under that namespace.
* Ability to select pickle protocol version.
* Support for Master-Slave setup
* Thundering herd protection
* Add expiration to key using `expire` command.
* Add persistence to key using `persist` command.

0.13.0

------

* Adds custom `has_key` implementation that uses Redis's `exists` command.
This will speed `has_key` up drastically if the key under question is
extremely large.

0.12.0

------

* Keys can now be kept alive indefinitely by setting the timeout to None,
e.g. `cache.set('key', 'value', timeout=None)`
* Adds `ttl` method to the cache. `cache.ttl(key)` will return the number of
seconds before it expires or None if the key is not volatile.

0.11.0

------

* Adds support for specifying the connection pool class.
* Adds ability to set the max connections for the connection pool.

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.