Django Compressor
Django app that combines, minifies and caches linked and inline JavaScript and CSS from Django templates into static files.
django-compressor.readthedocs.io/en/latest/repositorydocs
Django Compressor is a Django app that combines and minifies the linked and inline JavaScript and CSS used in Django templates, and writes the result to cacheable static files. It is a Python package installed with pip. Templates can also use it through Jinja2, which the project supports through an extension.
Compression can run during a request, or offline: offline compression runs the compress management command during deployment, as a build step.
Worth knowing
The pip package is named django_compressor, and the Python module is named compressor.
Identity
Rendering and deploy
Releases
Adoption
Sources
- 2026-10-28: links, Categories
django-compressor.readthedocs.io/en/latest/ - 2026-10-28: links, Written in, GitHub stars
api.github.com/repos/django-compressor/django-compressor - 2026-10-28: Built on
github.com/django-compressor/django-compressor/blob/4.6/README.rst - 2026-10-28: Runtime, Minimum runtime, Maintainer, License
github.com/django-compressor/django-compressor/blob/4.6/pyproject.toml - 2026-10-28: Templating
django-compressor.readthedocs.io/en/latest/jinja2.html - 2026-10-28: Runs as
django-compressor.readthedocs.io/en/latest/usage.html - 2026-10-28: Install with
django-compressor.readthedocs.io/en/latest/quickstart.html - 2026-10-28: License model
raw.githubusercontent.com/django-compressor/django-compressor/4.6/LICENSE - 2026-10-28: First release, Current major version, Last release
pypi.org/pypi/django-compressor/json - 2026-10-28: Contributors
api.github.com/repos/django-compressor/django-compressor/contributors?per_page=1 - 2026-10-28: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/pypi.org/packages/django-compressor