NAME

Plack::App::File::Precompressed - serve a tree of static pre-compressed files

SYNOPSIS

my $asset_app = Plack::App::File::Precompressed->new( root => 'static' )->to_app;

DESCRIPTION

This is an empty wrapper around Plack::Middleware::Static::Precompressed, which already works as a PSGI application. The wrapper exists only in case you find it weird to instantiate and use a Plack::Middleware as an application; you do not need to use it.

AUTHOR

Aristotle Pagaltzis <pagaltzis@gmx.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2024 by Aristotle Pagaltzis.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.