Django Compressor ================= .. image:: https://coveralls.io/repos/django-compressor/django-compressor/badge.png :target: https://coveralls.io/r/django-compressor/django-compressor .. image:: https://pypip.in/v/django_compressor/badge.png :target: https://pypi.python.org/pypi/django_compressor .. image:: https://pypip.in/d/django_compressor/badge.png :target: https://pypi.python.org/pypi/django_compressor .. image:: https://secure.travis-ci.org/django-compressor/django-compressor.png?branch=develop :alt: Build Status :target: http://travis-ci.org/django-compressor/django-compressor Django Compressor combines and compresses linked and inline Javascript or CSS in a Django templates into cacheable static files by using the ``compress`` template tag. HTML in between ``{% compress js/css %}`` and ``{% endcompress %}`` is parsed and searched for CSS or JS. These styles and scripts are subsequently processed with optional, configurable compilers and filters. The default filter for CSS rewrites paths to static files to be absolute and adds a cache busting timestamp. For Javascript the default filter compresses it using ``jsmin``. As the final result the template tag outputs a ``