Plack Middleware. By enabling this middleware, all multiple slashes in your
requests will automatically be cut. //hello///world becomes /hello/world.
Simple as that.
Plack::Middleware::Precompressed is an alternative (or rather,
complement) to middlewares like Deflater, which will compress response
bodies on the fly. For dynamic resources, that behaviour is
necessary, but for static resources it is a waste: identical entities
will be compressed over and over. Instead, Precompressed allows you
to compress static resources once, e.g. as part of your build process,
and then serve the compressed resource in place of the uncompressed
one for compression-enabled clients.
To do so, it appends a .gz suffix to the request URI and tries to
serve that. If that fails, it will try again with the unmodified URI.
Plack::Middleware::RemoveRedundantBody removes body in HTTP response, if it is
not required.
Plack::Middleware::Reproxy implements a simple reproxy mechanism via
X-Reproxy-URL, like https://github.com/kazuho/mod_reproxy.
Supports app to run as a reverse proxy backend.
This middleware provides a convenient way to modify requests in flight in Plack
apps. Rewrite rules are simply written in Perl, which means everything that can
be done with mod_rewrite can be done with this middleware much more intuitively
(if in syntactically wordier ways). Its primary purpose is rewriting paths, but
almost anything is possible very easily.
Plack::Middleware::ServerStatus::Lite is a middleware that display
server status in multiprocess Plack servers such as Starman and
Starlet. This middleware changes status only before and after
executing the application. so cannot monitor keepalive session and
network i/o wait.
Middleware for session management
Plack::Middleware::SocketIO is a server implmentation of SocketIO in
Perl.
Plack Middleware for mapping urls to status code-driven responses.