https://github.com/cferdinandi/gmt-html-minify
Minify your HTML output in WordPress.
https://github.com/cferdinandi/gmt-html-minify
Last synced: 3 months ago
JSON representation
Minify your HTML output in WordPress.
- Host: GitHub
- URL: https://github.com/cferdinandi/gmt-html-minify
- Owner: cferdinandi
- License: mit
- Created: 2013-10-11T00:27:10.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2016-11-03T14:49:00.000Z (about 9 years ago)
- Last Synced: 2025-04-03T17:12:26.933Z (9 months ago)
- Language: PHP
- Homepage:
- Size: 16.6 KB
- Stars: 60
- Watchers: 10
- Forks: 21
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# HTML 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](http://www.intert3chmedia.net/2011/12/minify-html-javascript-css-without.html).
[Download HTML Minify](https://github.com/cferdinandi/html-minify/archive/master.zip)
## Getting Started
Getting started with HTML Minify is as simple as installing a plugin:
1. Upload the `html-minify` folder to the `/wp-content/plugins/` directory.
2. 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](https://github.com/afragen/github-updater) to get automattic updates.
## Known Issues
It's been reported that [data URIs](https://developer.mozilla.org/en-US/docs/Web/HTTP/data_URIs) may [break the minifier](https://github.com/cferdinandi/html-minify/issues/2). 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](CONTRIBUTING.md).
## License
The code is available under the [MIT License](LICENSE.md).