django-redis-cache icon indicating copy to clipboard operation
django-redis-cache copied to clipboard

A Redis cache backend for django

Results 74 django-redis-cache issues
Sort by recently updated
recently updated
newest added

Hello :wave: Just want to inform you that the latest API (or probably others too, didn't check) page from [django-redis-cache.readthedocs.io](https://django-redis-cache.readthedocs.io/en/latest/api.html) doesn't match the page from [release 3.0.0](https://github.com/sebleier/django-redis-cache/blob/86e5434df03efb9984a91022a9de7994ccfed574/docs/api.rst) (but match the...

When I use the cache.delete_pattern() in my application it is blocking the response and is running extremely slow. Is there a way to execute this asynchronously? Or in a more...

The binary (wheel) version of the package distributed through PyPI seems to be outdated even though it's marked as version 2.1.3. When I do just `pip install django-redis-cache==2.1.3` and then...

``` File "/home/vagrant/.tox/py36/lib/python3.6/site-packages/redis_cache/utils.py", line 5, in from django.utils import six ImportError: cannot import name 'six' ``` Pip freeze shows: ``` django-redis-cache==2.1.3 ``` Noticed someone else mentioned it here: https://github.com/sebleier/django-redis-cache/issues/173#issuecomment-701633501

Hi! It would be great help users understand the differences between this project and the [cache provided by `django_redis.cache`](https://github.com/niwinz/django-redis/blob/master/django_redis/cache.py) . Are there docs comparing those two somewhere? Thank you!

I got this error: ``` Could not find backend 'redis_cache.RedisCache': cannot import name 'six' from 'django.utils' (/app/.heroku/python/lib/python3.7/site-packages/django/utils/__init__.py) ``` Django 3.0 doesn't have `django.utils.six` any more: https://github.com/sebleier/django-redis-cache/blob/0b1f870a0960faf253a9133b9bfc2b994da057d3/redis_cache/utils.py#L5-L7

I don't know why but I got this error ``` >>> tweets = cache.get_or_set('tweets', 'x', timeout=300) Traceback (most recent call last): File "", line 1, in File "/Users/deanchristianarmada/Desktop/projects/asian_gaming/radar/lib/python2.7/site-packages/redis_cache/backends/base.py", line 33,...

This should fix issue #149. When there is no stale value to return, one thread tries to compute func()'s result while all other threads wait for it to complete.

It would be convenient to specify the primary node and have the client detect the other endpoints. Is this possible? If not, where would one start to implement this for...