You need a Wordpress HTML minify Plugin for minify your all HTML file. When you install your plugin in your website all HTML file compress.
Minifying HTML serves next to no actual purpose. The HTML, minified or not, shouldn't be more than a few kB, and minifying it shouldn't really do anything useful, especially if you're minifying it "on-the-fly" with a plugin - that will just increase the load-time.
I fully agree with PoPSiCLe. If you stick to wordpress, the less plugins the better. If you use caching, I recommend to run it outside Worpdress (In my wordpress times I got nice results using redis.io, the plugin is only a few lines). If you need to minify HTML, surely you are doing something wrong. It also difficults debugging.
If you are using WordPress & need high page speed. Consider using some good dedicated WordPress hosting or CDN. Using minifying plugins usually creates problems.
I've said for years that if you "need" to use minification, particularly on your markup, there is something dreadfully, horribly, and terrifyingly wrong with said markup. But you said you're using turdpress, so that's a given. When you're using three to five times the HTML needed in the first place, minification is just sweeping shitty code under the rug. ... and boy, do turdpress templates vomit up some shitty, bloated, inept code. MORE so if you're dumb enough to slap the steaming pile that is bootcrap and jQueery atop it.