I have created a simple HTML Minify for Revo, if someone need, please take a look, to see your remarks and updates, txanks
https://github.com/play2web/HTML2Minify
HTML2Minify
HTML2Minify is a plugin for MODX Revo 2.2.xxx that compresses the HTML output to reduce file size and improve performance. It's forked from a script by DVS.
Getting started with HTML2Minify is as simple as installing a plugin:
Create new Template Variable called Minify with options
Listbox (Single-Select)
Input Option Values: Yes==1||No==0
Default value : 1
Assign Minify Template Variable to your desired Template in Template Access tab
And that's it, you're done. Nice work! Now in every Resources you will have Minify TV to disable or enable HTML minify output
It's recommended that you also install the GitHub Updater plugin to get automattic updates.
Known Issues
It's been reported that sometime inline Javascript is break, just put your Javascript code in external file.