HTML Minify is a plugin for WordPress that compresses the HTML output to reduce file size and improve performance. It's forked from a script by DVS.
Getting started with HTML Minify is as simple as installing a plugin:
- Upload the
html-minify
folder to the/wp-content/plugins/
directory. - Activate the plugin through the Plugins menu in WordPress.
And that's it, you're done. Nice work! You change what gets minified under "Settings" in the Admin Dashboard.
It's recommended that you also install the GitHub Updater plugin to get automattic updates.
It's been reported that data URIs may break the minifier. This has not been consistently duplicated, nor is their a fix available, but is something to be aware of.
Please read the Contribution Guidelines.
The code is available under the MIT License.