$npx skillfedfor your agent

django-cache-url

Use Cache URLs in your Django application.

With conditionsPyPI Dynamic ContentReleased Jan 2026226.4K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_cache_url-3.4.6-py2.py3-none-any.whl
v3.4.6 · released 2026-01-24

Yes, if you need URL-based cache configuration for non-Redis backends or are maintaining a legacy project already using this library. For new Django 4.2+ projects using only Redis, use Django's native RedisCache backend instead. The package is stable, dependency-free, and has no known vulnerabilities, but maintenance is aging—expect no active development, only maintenance fixes.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with no runtime dependencies.
  • Maintenance status is aging—last release was 202 days ago—but the package is stable and the repository remains active.
  • Suitable for established projects; new Redis-only projects should consider Django's native Redis support.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) allows commercial and private use with minimal restrictions, making it safe for most Django projects.

last release 2026-01-24 (202 days) · last repo commit 2026-01-24 · 20 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 226,447 downloads/mo, #9,200 on PyPI

Verify before relying

pip install django-cache-url

# In settings.py
import django_cache_url
CACHES = {'default': django_cache_url.config()}

# Or parse a specific URL
CACHES = {'default': django_cache_url.parse('memcached://HOST:PORT')}
  • Whether the package actively maintains compatibility with Django 6.0 or if that classifier reflects aspirational support only.
  • Performance characteristics when parsing complex multi-instance cache URLs at application startup.
  • Specific port numbers and host configurations for different cache backends in production environments.
Same gist for agents: .md · .json

What it is and what it does

django-cache-url is a lightweight Django utility that reads cache configuration from a CACHE_URL environment variable and translates it into Django's native CACHES dictionary format. It follows the 12-factor app pattern, making cache backend selection environment-driven rather than code-driven—useful for deploying the same codebase across development, staging, and production with different cache backends.

The package supports a wide range of cache backends including local memory, file-based, database, memcached variants, Redis (via django-redis), and uWSGI cache. It defaults to local memory cache if no CACHE_URL is set, making it safe to add to projects without immediate environment configuration. The library is intentionally minimal—it has no runtime dependencies and focuses solely on URL parsing and configuration translation.

Use it for

  • Deploying Django apps across multiple environments with different cache backends specified only via environment variables.
  • Migrating between cache backends without changing application code, only the CACHE_URL.
  • Supporting legacy projects already using django-cache-url or projects requiring multiple cache backend support with unified URL-based configuration.
  • Containerized or cloud-deployed Django applications where cache configuration must be externalized from code.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need URL-based cache configuration for non-Redis backends or are maintaining a legacy project already using this library.

For new Django 4.2+ projects using only Redis, use Django's native RedisCache backend instead. The package is stable, dependency-free, and has no known vulnerabilities, but maintenance is aging—expect no active development, only maintenance fixes.

Install

django-cache-url on PyPI

Before you install

Low install friction with no runtime dependencies. Maintenance status is aging—last release was 202 days ago—but the package is stable and the repository remains active. Suitable for established projects; new Redis-only projects should consider Django's native Redis support.

License in practice

MIT license (permissive) allows commercial and private use with minimal restrictions, making it safe for most Django projects.

Quickstart

pip install django-cache-url

# In settings.py
import django_cache_url
CACHES = {'default': django_cache_url.config()}

# Or parse a specific URL
CACHES = {'default': django_cache_url.parse('memcached://HOST:PORT')}

Verify before relying

  • Whether the package actively maintains compatibility with Django 6.0 or if that classifier reflects aspirational support only.
  • Performance characteristics when parsing complex multi-instance cache URLs at application startup.
  • Specific port numbers and host configurations for different cache backends in production environments.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAging 202 days since the last release
Last repo commit
First released
Downloads226,447 / month, #9,200 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.2Framework :: Django :: 6.0Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: django_cache_url-3.4.6-py2.py3-none-any.whl

Tags

Capabilities
django cache url configurationenvironment variable cache setup12factor django cachingmemcached redis configurationdjango cache backend parser
Topics
configuration-managementtwelve-factor

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “django cache url configuration”

  • django-cache-urlConfigures Django cache backends from environment variables using the…
  • django-environLoads and parses environment variables from .env files to configure…
  • django-redisProvides a Redis cache and session backend for Django, supporting…

Give your agent the search over MCP, or paste the wish link into any chat.

More Dynamic Content packages

MarkupSafe Worth it
PyPI · Dynamic Content · released Sep 2025

MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.

BSD-3-Clausecompiled wheel · 3.9+aging
797.1Mdownloads / mo
Jinja2 Worth it
PyPI · Dynamic Content · released Mar 2025

Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.

BSD-3-Clausepure Python · 3.7+aging
718.6Mdownloads / mo
soupsieve Worth it
PyPI · Python Modules · released Aug 2026

Soupsieve is a CSS selector library designed to work with Beautiful Soup 4 to select, match, and filter HTML and XML elements using modern CSS selectors from CSS level 1 through CSS level 4 specifications.

Install it if you use Beautiful Soup for HTML or XML parsing and want modern CSS selector support.

MITpure Python · 3.10+
428.6Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo
Flask Worth it
PyPI · Application Frameworks · released Feb 2026

Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.

BSD-3-Clausepure Python · 3.9+
211.4Mdownloads / mo
Mako Worth it
PyPI · Dynamic Content · released Aug 2026

Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.

MITpure Python · 3.10+
201.7Mdownloads / mo

See also django-environ · django-redis · fastapi-cache2 · Beaker · django-valkey · Redis-Sentinel-Url · aiocache · django-redis-sessions · django-cacheops · django-rq