Since there’s no public repo, I decided to make a topic here instead.
At https://caddyserver.com/docs/http.minify, there’s a typo at
minifier sets value for option on that minifier. When the option is true or false, its omission is trated as true . To know the options read the full documentation.
true