HTML minify for K3?

The plugin works fine for me. Thanks! :hugs:

for some reason when doOptimizeViaHtmlDomParser is true it delete last tags < / body>
< / html> what it could be?

I have made HTML minifier for Kirby, please help me to find a way to capture the response body on Kirby 3 if you want to have my plugin to support Kirby 3, thank you!