# Django Compressor

Django app that combines, minifies and caches linked and inline JavaScript and CSS from Django templates into static files.


Source: https://findsoftware.frbit.cloud/django-compressor/
Last reviewed: 2026-10-28
Listed since: 2026-10-28

## Record

### Links

- home: https://django-compressor.readthedocs.io/en/latest/
- repository: https://github.com/django-compressor/django-compressor
- docs: https://django-compressor.readthedocs.io/en/latest/

### Identity

- status: active
- maintainer: Mathieu Pillard
- maintainerType: unknown
- parent: unknown
- firstRelease: 2010
- hqCountry: unknown

### Kind

- category: build-tool
- hosting: not applicable
- language: python
- runtime: python
- runtimeMin: python 3.10
- basedOn: django

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: django, jinja2
- i18n: not applicable

### Rendering and deploy

- runsAs: local
- renderingModes: not applicable
- installMethod: pip install django-compressor

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 4
- latestReleaseDate: 2025-11-10

### Adoption

- githubStargazers: 2869
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 183
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 6524
- dependentPackages: 69

### Sources

- urls: https://django-compressor.readthedocs.io/en/latest/ (read 2026-10-28)
- urls: https://api.github.com/repos/django-compressor/django-compressor (read 2026-10-28)
- urls: https://django-compressor.readthedocs.io/en/latest/ (read 2026-10-28)
- category: https://django-compressor.readthedocs.io/en/latest/ (read 2026-10-28)
- basedOn: https://github.com/django-compressor/django-compressor/blob/4.6/README.rst (read 2026-10-28)
- language: https://api.github.com/repos/django-compressor/django-compressor (read 2026-10-28)
- runtime: https://github.com/django-compressor/django-compressor/blob/4.6/pyproject.toml (read 2026-10-28)
- runtimeMin: https://github.com/django-compressor/django-compressor/blob/4.6/pyproject.toml (read 2026-10-28)
- templating: https://django-compressor.readthedocs.io/en/latest/jinja2.html (read 2026-10-28)
- runsAs: https://django-compressor.readthedocs.io/en/latest/usage.html (read 2026-10-28)
- installMethod: https://django-compressor.readthedocs.io/en/latest/quickstart.html (read 2026-10-28)
- maintainer: https://github.com/django-compressor/django-compressor/blob/4.6/pyproject.toml (read 2026-10-28)
- license: https://github.com/django-compressor/django-compressor/blob/4.6/pyproject.toml (read 2026-10-28)
- licenseModel: https://raw.githubusercontent.com/django-compressor/django-compressor/4.6/LICENSE (read 2026-10-28)
- firstRelease: https://pypi.org/pypi/django-compressor/json (read 2026-10-28)
- currentMajor: https://pypi.org/pypi/django-compressor/json (read 2026-10-28)
- latestReleaseDate: https://pypi.org/pypi/django-compressor/json (read 2026-10-28)
- githubStargazers: https://api.github.com/repos/django-compressor/django-compressor (read 2026-10-28)
- contributors: https://api.github.com/repos/django-compressor/django-compressor/contributors?per_page=1 (read 2026-10-28)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/django-compressor (read 2026-10-28)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/django-compressor (read 2026-10-28)

## Notes

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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
