Skip to content

A plugin for WordPress that minifies HTML code to reduce file size and improve performance.

License

Notifications You must be signed in to change notification settings

operat/markup-minifier-wp

Repository files navigation

Markup Minifier WP

A plugin for WordPress that minifies HTML code by removing line breaks and spaces to reduce file size and improve performance.

Description

The plugin minifies all HTML markup by default. Also all inline styles/scripts are compressed and HTML comments get removed. These can be switched on/off on the settings page. Optionaly a comment containing info about the file size savings can be added. The plugin is simple by design, because it's meant to be comfortable and fast.

If you need more options, like reorganising and/or merging <link>, <style> and <script> tags scattered across a HTML page, the new HTML Minifier plugin looks promising.

The minification code is a fork from FastWP.

Installation

  1. Download the plugin
  2. Upload markup-minifier-wp folder to /wp-content/plugins/ directory
  3. Activate the plugin in WordPress

To get automatic updates also install the GitHub Updater plugin.

License

The code is available under the GNU GPLv3 license.

About

A plugin for WordPress that minifies HTML code to reduce file size and improve performance.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages