NAME
Plack::Middleware::HTMLMinify - Plack middleware for HTML minify
VERSION
version 0.5
DESCRIPTION
This module will use HTML::Packer to minify HTML code on-the-fly automatically. Currently it will check if Content-Type is text/html
.
SYNOPSIS
use Plack::Builder;
builder {
enable 'HTMLMinify', opt => {remove_newlines => 1};
}
AUTHOR
Gea-Suan Lin, <gslin at gslin.org>
LICENSE AND COPYRIGHT
Copyright 2011 Gea-Suan Lin.
This software is released under 3-clause BSD license. See http://www.opensource.org/licenses/bsd-license.php for more information.