The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Plack::Middleware::Static::Minifier - serves static files and minify CSS and JavaScript

SYNOPSIS

    use Plack::Builder;
    builder {
        enable "Plack::Middleware::Static::Minifier",
            path => qr{^/(js|css|images)/},
            root => './htdocs/';
        $app;
    };

DESCRIPTION

Plack::Middleware::Static::Minifier serves static files with Plack and minify CSS and JavaScript. This module is the subclass of Plack::Middleware::Static.

See Plack::Middleware::Static for more detail.

REPOSITORY

Plack::Middleware::Static::Minifier is hosted on github <http://github.com/bayashi/Plack-Middleware-Static-Minifier>

AUTHOR

Dai Okabayashi <bayashi@cpan.org>

SEE ALSO

Plack::Middleware::Static, CSS::Minifier::XS, JavaScript::Minifier::XS Plack::Middleware, Plack

LICENSE

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.