I am using django-redis in django and want to turn off compressor. there are several options to set various types of compressors like zlib, lzma, etc. but not no compressor.
Asked
Active
Viewed 232 times
2 Answers
0
From django-redis readme
django-redis comes with compression support out of the box, but is deactivated by default. You can activate it setting up a concrete backend:

iklinac
- 14,944
- 4
- 28
- 30
-
But I see something like this in redis �� �u_456�. while i set u_456 as value – Hadi Saraf Jun 21 '20 at 11:05
0
I found the answer and my mistake was it is not about compressor but serializer. So adding "SERIALIZER": "django_redis.serializers.json.JSONSerializer", to "OPTIONS" fixes the problem.