Skip to content
Sections
>> Trisquel >> Pakete >> nabia >> ruby >> ruby-heroku-deflater
nabia  ] [  aramo  ]
[ Quellcode: ruby-heroku-deflater  ]

Paket: 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.

Andere Pakete mit Bezug zu ruby-heroku-deflater

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • dep: ruby-rack (>= 1.4.5)
    modular Ruby webserver interface

ruby-heroku-deflater herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 5,8 kB29 kB [Liste der Dateien]