Skip to content

codeclinic/html-minify

 
 

Repository files navigation

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.

Download HTML Minify

In This Documentation

  1. Getting Started
  2. How to Contribute
  3. Known Issues
  4. License

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.

Inline JavaScript sometimes breaks when minified, so you may wish to exclude it from minification.

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.

Inline JavaScript also sometimes breaks when minified, so you may wish to exclude it from minification in the settings.

How to Contribute

In lieu of a formal style guide, take care to maintain the existing coding style. Please apply fixes to both the development and production code. Don't forget to update the version number, and when applicable, the documentation.

License

The code is available under the MIT License.

Packages

No packages published

Languages

  • PHP 100.0%