GMT HTML Minify
Minify your HTML output in WordPress.
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/cferdinandi/gmt-html-minify/archive/refs/heads/master.zipHTML Minify
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
Getting started with HTML Minify is as simple as installing a plugin:
- Upload the
html-minifyfolder 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.
Known Issues
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.
How to Contribute
Please read the Contribution Guidelines.
License
The code is available under the MIT License.