Plack::Middleware::ForceEnv modifies the environment passed to the application
by adding your specified key value pairs. This is primarily useful when testing
apps under plackup (or similar) in a development environment.
Plack::Middleware::InteractiveDebugger is a PSGI middleware component
that provides an awesome JavaScript in-browser interacive debugger.
Plack::Middleware::JSConcat allows you to concatenate multiple
javascripts files into one. It provides a content-hashed key as the
url for including all the javascript files you specified. You can
also provide a filter program to minimize the concatenated file.
Plack::Middleware::MemoryUsage is middleware for measuring process
memory.
Enabling Plack::Middleware::MemoryUsage causes huge performance
penalty. So I HIGHLY RECOMMEND to enable this middleware only on
development env or not processing every request on production using
Plack::Middleware::Conditional.
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::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.
Middleware for session management
Plack Middleware for mapping urls to status code-driven responses.