Metadata-Version: 2.0 Name: django-compressor Version: 2.0 Summary: Compresses linked and inline JavaScript or CSS into single cached files. Home-page: http://django-compressor.readthedocs.org/en/latest/ Author: Jannis Leidel Author-email: jannis@leidel.info License: MIT Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Framework :: Django Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.2 Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Topic :: Internet :: WWW/HTTP Requires-Dist: django-appconf (>=0.4) Requires-Dist: rcssmin (==1.0.6) Requires-Dist: rjsmin (==1.0.12) Django Compressor ================= .. image:: http://codecov.io/github/django-compressor/django-compressor/coverage.svg?branch=develop :target: http://codecov.io/github/django-compressor/django-compressor?branch=develop .. image:: https://pypip.in/v/django_compressor/badge.svg :target: https://pypi.python.org/pypi/django_compressor .. image:: https://pypip.in/d/django_compressor/badge.svg :target: https://pypi.python.org/pypi/django_compressor .. image:: https://secure.travis-ci.org/django-compressor/django-compressor.svg?branch=develop :alt: Build Status :target: http://travis-ci.org/django-compressor/django-compressor .. image:: https://caniusepython3.com/project/django_compressor.svg :target: https://caniusepython3.com/project/django_compressor Django Compressor combines and compresses linked and inline Javascript or CSS in a Django template 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 ``