https://github.com/littlebizzy/minify-html
Tactfully minifies HTML output and markup to remove line breaks, whitespace, comments, and other code bloat to cleanup source code and improve speed.
https://github.com/littlebizzy/minify-html
wordpress wordpress-plugin
Last synced: 12 months ago
JSON representation
Tactfully minifies HTML output and markup to remove line breaks, whitespace, comments, and other code bloat to cleanup source code and improve speed.
- Host: GitHub
- URL: https://github.com/littlebizzy/minify-html
- Owner: littlebizzy
- License: gpl-3.0
- Created: 2018-05-18T06:18:56.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-03-13T10:46:09.000Z (over 7 years ago)
- Last Synced: 2025-05-07T19:58:53.685Z (about 1 year ago)
- Topics: wordpress, wordpress-plugin
- Homepage: https://www.littlebizzy.com/plugins/minify-html
- Size: 55.7 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Minify HTML
Tactfully minifies HTML output and markup to remove line breaks, whitespace, comments, and other code bloat to cleanup source code and improve speed.
* [Plugin Homepage](https://www.littlebizzy.com/plugins/minify-html)
* [Download Latest Version (ZIP)](https://github.com/littlebizzy/minify-html/archive/1.0.1.zip)
* [**Become A LittleBizzy.com Member Today!**](https://www.littlebizzy.com/members)
### Defined Constants
/* Plugin Meta */
define('AUTOMATIC_UPDATE_PLUGINS', false); // default = false
define('DISABLE_NAG_NOTICES', true); // default = true
/* Minify HTML Functions */
define('MINIFY_HTML', true); // default = true
define('MINIFY_HTML_INLINE_STYLES', true); // default = true
define('MINIFY_HTML_INLINE_STYLES_COMMENTS', true); // default = true
define('MINIFY_HTML_REMOVE_COMMENTS', true); // default = true
define('MINIFY_HTML_REMOVE_CONDITIONALS', true); // default = true
define('MINIFY_HTML_REMOVE_EXTRA_SPACING', true); // default = true
define('MINIFY_HTML_REMOVE_HTML5_SELF_CLOSING', false); // default = false
define('MINIFY_HTML_REMOVE_LINE_BREAKS', true); // default = true
define('MINIFY_HTML_INLINE_SCRIPTS', false); // default = false
define('MINIFY_HTML_INLINE_SCRIPTS_COMMENTS', false); // default = false
define('MINIFY_HTML_UTF8_SUPPORT', true); // default = true
### Compatibility
This plugin has been designed for use on [SlickStack](https://slickstack.io) web servers with PHP 7.2 and MySQL 5.7 to achieve best performance. All of our plugins are meant for single site WordPress installations only — for both performance and usability reasons, we strongly recommend avoiding WordPress Multisite for the vast majority of your projects.
Any of our WordPress plugins may also be loaded as "Must-Use" plugins (meaning that they load first, and cannot be deactivated) by using our free [Autoloader](https://github.com/littlebizzy/autoloader) script in the `mu-plugins` directory.
### Our Philosophy
> "Decisions, not options." — WordPress.org
> "Everything should be made as simple as possible, but not simpler." — Albert Einstein, et al
> "Write programs that do one thing and do it well... write programs to work together." — Doug McIlroy
> "The innovation that this industry talks about so much is bullshit. Anybody can innovate... 99% of it is 'get the work done.' The real work is in the details." — Linus Torvalds
### Support Issues
Please do not submit Pull Requests. Instead, kindly create a new Issue with relevant information if you are an experienced developer, otherwise you may become a [**LittleBizzy.com Member**](https://www.littlebizzy.com/members) if your company requires official support.