{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/2"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/2"}],"enrichment":{"capability":"Provides a Redis cache and session backend for Django, supporting native redis-py URL connection strings, pluggable serializers and parsers, and optional compression.","skillfed_tags":["django-integration","caching-layer","session-storage"],"use_cases":["Replace Django's default in-memory cache with persistent Redis storage for multi-process deployments.","Store Django sessions in Redis for horizontal scaling across multiple application servers.","Enable cache compression to reduce memory usage on large cached objects.","Configure Redis failover and primary/secondary support for high-availability caching.","Use Unix domain sockets to cache locally without network overhead.","Emulate memcached behavior by ignoring Redis downtime to prevent application crashes."],"what_it_does":"django-redis is a production-ready Redis cache and session backend for Django that replaces Django's default cache framework with Redis storage. It uses redis-py's native URL notation for connection strings, supporting TCP sockets, SSL-wrapped connections, and Unix domain sockets. The package handles serialization via pickle by default, offers pluggable compression (zlib, lzma, lz4, zstandard, gzip), and can emulate memcached exception behavior by ignoring Redis connection failures.\n\nTypically used to improve Django application performance by offloading cache and session storage to Redis, it integrates directly into Django's CACHES and SESSION_ENGINE settings. The package supports Redis ACLs, primary/secondary failover in the default client, infinite timeouts, and raw access to the underlying redis connection pool for advanced use cases. It has been used in production across multiple projects and maintains a comprehensive test suite.","worth_installing":"Yes. django-redis is actively maintained, production-proven, has no known vulnerabilities, low install friction, and a permissive license. It is the standard choice for Redis caching in Django projects that need persistence, scalability, or session sharing across servers. Install if you are using Django 5.2+ and have a Redis server available."},"id":"django-redis","links":{"html":"https://skillfed.io/packages/django-redis","md":"https://skillfed.io/packages/django-redis.md","pypi":"https://pypi.org/project/django-redis/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-02","license_spdx":"BSD-3-Clause","license_treatment":"permissive","name":"django-redis","python_support":"supports_current","summary":"Full featured redis cache backend for Django."},"popularity":{"monthly_downloads":12685319,"position":1312,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"7.0.0"}
