Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> ruby >> ruby-heroku-deflater
nabia  ] [  aramo  ]
[ 源代码: ruby-heroku-deflater  ]

软件包: ruby-heroku-deflater (0.6.3-2)

Enable gzip compression on heroku, but don't compress images

A simple rack middleware, enabling compression of your assets and application in responses on Heroku. It saves CPU cycles on pointless compression of images and binary responses.

It also includes code from https://github.com/mattolson/heroku_rails_deflate.

Before serving a file from disk to a gzip-enabled client, it will look for a precompressed file in the same location that ends in ".gz". The purpose is to avoid compressing the same file each time it is requested.

其他与 ruby-heroku-deflater 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: ruby-rack (>= 1.4.5)
    modular Ruby webserver interface

下载 ruby-heroku-deflater

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 5.8 kB29 kB [文件列表]