2017 © Pedro Peláez
 

wordpress-plugin gh-minify

Plugin for html minification.

image

goatherd/gh-minify

Plugin for html minification.

  • Monday, April 7, 2014
  • by goatherd
  • Repository
  • 1 Watchers
  • 1 Stars
  • 329 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 4 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

gh-minify

WordPress HTML minification plugin., (*1)

Features

Minifies request content for some contents served through WordPress., (*2)

  • minify HTML
  • minify inline Script
  • minify inline CSS
  • allow to veto through gh-minify-veto filter
  • allow to post-process minification through gh-minify-content filter
  • allow to alter tag-ignore list through gh-minify-skip-tags filter
  • standalone usage

Prepend this to your WordPress index.php, (*3)

Goatherd\WpPlugin\Minify::initPlugin(); // enable minify

Note that you either need to register composer autoloading (recommended; for example: require_once __DIR__ . '/vendor/autoload.php) or preload the Goatherd\WpPlugin\Minify class file., (*4)

technical notes

PSR-4 compliant code approximating SOLID priciples., (*5)

The Versions

07/04 2014

dev-master

9999999-dev https://github.com/goatherd/wp-minify

Plugin for html minification.

  Sources   Download

BSD-3-Clause

The Requires

 

wordpress html minify

23/03 2014

v1.0

1.0.0.0 https://github.com/goatherd/wp-minify

Plugin for html minification.

  Sources   Download

MIT

The Requires

 

wordpress html minify