PSGI::Hector::Middleware - Application middleware
PSGI::Hector::Middleware->wrap($app);
Wraps the application in additional middleware.
PSGI::Hector::Middleware->wrap($app)
Adds the following middleware to the application:
Serving static files from "images", "js", "style" which are located in the "htdocs" directory. These will be minified, cached and compressed in a production environment.
Non static files will only be compressed.
MacGyveR <dumb@cpan.org>
Development questions, bug reports, and patches are welcome to the above address
Plack::Middleware::Static::Minifier Plack::Middleware::Static Plack::Middleware::Deflater
Copyright (c) 2017 MacGyveR. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install PSGI::Hector, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PSGI::Hector
CPAN shell
perl -MCPAN -e shell install PSGI::Hector
For more information on module installation, please visit the detailed CPAN module installation guide.