From a3f00c4a7851b98b81a2fcb31d5ed131908e22de Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 5 Jul 2020 23:27:29 +0000 Subject: stop auto-loading Plack::Middleware::Deflater Instead of gzipping some (mbox.gz, manifest.js.gz) responses and leaving P::M::D to do the rest, we gzip everything ourselves, now, so P::M::D is redundant. --- examples/newswww.psgi | 8 -------- 1 file changed, 8 deletions(-) (limited to 'examples/newswww.psgi') diff --git a/examples/newswww.psgi b/examples/newswww.psgi index 3cce7191..52ad7043 100644 --- a/examples/newswww.psgi +++ b/examples/newswww.psgi @@ -36,14 +36,6 @@ builder { # regular PublicInbox::WWW code: # see comments in examples/public-inbox.psgi for more info: mount '/' => builder { - eval { - enable 'Deflater', - content_type => [ qw( - text/html - text/plain - application/atom+xml - )] - }; eval { enable 'ReverseProxy' }; enable 'Head'; sub { $www->call($_[0]) } -- cgit v1.2.3-24-ge0c7