-builder {
- # Chunked middleware conflicts with Starman:
- # https://github.com/miyagawa/Starman/issues/23
- # However, it is strongly recommended to enable it if using
- # public-inbox-httpd to allow persistent connections
- # enable 'Chunked';
- eval {
- enable 'Deflater',
- content_type => [ qw(
- text/html
- text/plain
- application/atom+xml
- )]
- };
- $@ and warn
-"Plack::Middleware::Deflater missing, bandwidth will be wasted\n";