Can we provide an option to compress html, such as remove extra spaces and escapes, etc.
I found one related lib: https://docs.rs/crate/html-minifier/1.1.14
Perform compression when html_minifier=true
in config.toml
Is it enough to modify here https://github.com/getzola/zola/blob/ac3ced828b3e90ffa7c4d3abee10ce346bf41707/components/library/src/content/page.rs#L285
The problem is that it seems to break CI Tests
Bumping this thread with my prototype using hyperbuild.
I took a look at it and all tests seem to pass nicely once it’s brought even with the next
branch and the merge conflicts are resolved. (I haven’t really tested the actual working of the minifying itself but I assume that is okay since it’s well maintained and used on crates.io. Could you make a pull request so it can be reviewed and merged?