0

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.

2 Answers2

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
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.