NAME Plack::Middleware::Zstandard - Compress response body with Zstandard VERSION version 0.01 SYNOPSIS use Plack::Builder; my $app = sub { return [ 200, [ 'Content-Type' => 'text/plain' ], [ "Hello World!\n" ], ]; }; builder { enable 'Zstandard'; $app; }; DESCRIPTION This middleware encodes the body of the response using Zstandard, based on the Accept-Encoding request header. CONFIGURATION level Compression level. Should be an integer from 1 to 22. If not provided, then the default will be chosen by Compress::Stream::Zstd. SEE ALSO Plack::Middleware::Deflater Compress::Stream::Zstd AUTHOR Graham Ollis COPYRIGHT AND LICENSE This software is copyright (c) 2024 by Graham Ollis. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.