This is a plugin based on Agile Web Development with Rails’ response compression technique. By default, all responses will be compressed when they can be.
While compression works by default, at times you may wish to avoid compression. For instance, if the user is downloading a binary from your site. In that case you, may use a before filter to avoid compression.
request.dont_compress = true
compress_response is maintained and funded by Iridesco.
Copyright © 2009 Iridesco. It is free software, and may be redistributed under the terms specified in the MIT-LICENSE file.