django_auxilium.middleware.html module¶
-
class
django_auxilium.middleware.html.MinifyHTMLMiddleware(get_response=None)[source]¶ Bases:
objectMiddleware for minifying HTML.
Unlike some other minifyers, this minifyer is pretty simple and tried to do the bare minimum in an attempt of being super-lightweight.
This middleware only works when
settings.DEBUGis disabled.See also
django_auxilium.utils.html.simple_minify- What is used to actually minify HTML