LogoopenSUSE Build Service > Projects
Sign Up | Log In

Compress response body with Gzip or Deflate

Plack::Middleware::Deflater is a middleware to encode your response body
in gzip or deflate, based on "Accept-Encoding" HTTP request header. It
would save the bandwidth a little bit but should increase the Plack server
load, so ideally you should handle this on the frontend reverse proxy

This middleware removes "Content-Length" and streams encoded content,
which means the server should support HTTP/1.1 chunked response or
downgrade to HTTP/1.0 and closes the connection.

Source Files

Filename Size Changed Actions
Plack-Middleware-Deflater-0.12.tar.gz 25.8 KB Download File
perl-Plack-Middleware-Deflater.changes 890 Bytes Download File
perl-Plack-Middleware-Deflater.spec 2.27 KB Download File

Comments for home:illuusio:perl (0)

Login required, please login or signup in order to comment