Comment

Martin

Ah, it works fine so far. I haven't put much effort into research but I checked that the minifier doesn't strip linebreaks within pre and textare tags.

I like the idea of the npm minifier that it also removes quotes to really squeeze the last byte out out of it, but the overhead in this deployment wouldn't be worth for me. I like that django-htmlmin is a simple middleware so I can run it before my full page cache kicks in.