Added note about precompilers being run even if COMPRESS_ENABLED is set to False
This commit is contained in:
@@ -56,6 +56,8 @@ COMPRESS_OUTPUT_DIR
|
|||||||
Controls the directory inside COMPRESS_ROOT_ that compressed files will
|
Controls the directory inside COMPRESS_ROOT_ that compressed files will
|
||||||
be written to.
|
be written to.
|
||||||
|
|
||||||
|
.. _compress_css_filters:
|
||||||
|
|
||||||
COMPRESS_CSS_FILTERS
|
COMPRESS_CSS_FILTERS
|
||||||
^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -111,6 +113,7 @@ algorithm cssmin_.
|
|||||||
.. _`data: URIs`: http://en.wikipedia.org/wiki/Data_URI_scheme
|
.. _`data: URIs`: http://en.wikipedia.org/wiki/Data_URI_scheme
|
||||||
.. _cssmin: http://pypi.python.org/pypi/cssmin/
|
.. _cssmin: http://pypi.python.org/pypi/cssmin/
|
||||||
|
|
||||||
|
.. _compress_js_filters:
|
||||||
|
|
||||||
COMPRESS_JS_FILTERS
|
COMPRESS_JS_FILTERS
|
||||||
^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^
|
||||||
|
|||||||
@@ -52,6 +52,14 @@ If the :ref:`COMPRESS_ENABLED <compress_enabled>` setting is ``False``
|
|||||||
(defaults to the opposite of DEBUG) the ``compress`` template tag does nothing
|
(defaults to the opposite of DEBUG) the ``compress`` template tag does nothing
|
||||||
and simply returns exactly what it was given.
|
and simply returns exactly what it was given.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
If you've configured any :ref:`precompilers <compress_precompilers>`
|
||||||
|
setting :ref:`COMPRESS_ENABLED <compress_enabled>` to ``False`` won't
|
||||||
|
affect the processing of those files. Only the
|
||||||
|
:ref:`CSS <compress_css_filters>` and
|
||||||
|
:ref:`JavaScript filters <compress_js_filters>` will be disabled.
|
||||||
|
|
||||||
If both DEBUG and :ref:`COMPRESS_ENABLED <compress_enabled>` are set to
|
If both DEBUG and :ref:`COMPRESS_ENABLED <compress_enabled>` are set to
|
||||||
``True``, incompressible files (off-site or non existent) will throw an
|
``True``, incompressible files (off-site or non existent) will throw an
|
||||||
exception. If DEBUG is ``False`` these files will be silently stripped.
|
exception. If DEBUG is ``False`` these files will be silently stripped.
|
||||||
|
|||||||
Reference in New Issue
Block a user