Package python3-module-django-minify-html: Information
Default inline alert: Version in the repository: 1.7.1-alt1
Binary package: python3-module-django-minify-html
Version: 1.0.0-alt1
Architecture: aarch64
Build time: Feb 22, 2022, 09:09 AM in the task #295557
Source package: python3-module-django-minify-html
Category: Development/Python3
Report package bugLicense: MIT
Summary: Use minify-html, the extremely fast HTML + JS + CSS minifier, with Django.
Description:
HTML minification is an underappreciated techinque for web optimization. It can yield significant savings, even on top of other tools like compression with Brotli or Gzip. There are other minifiers out there, but in benchmarks minify-html surpasses them all. It's a really well optimized and tested Rust library, and seems to be the best available HTML minifier. Some CDN's provide automatic minification, such as CloudFlare. This can be convenient, since it requires no application changes. But it adds some overhead: non-minified HTML has to first be transferred to the CDN, and the CDN has to parse the response, and recombine it. It also means that you don't get to see the potential side effects of minification until your code is live. Overall it should be faster and more predictable to minify within Django, at the point of HTML generation.
Maintainer: Dmitry Lyalyaev