about summary refs log tree commit
path: root/lib/metropolis/deflate.rb
DateCommit message (Collapse)
2011-01-17use constants everywhere to reduce GC thrashing
This makes it easier to notice a typo, too.
2010-12-10deflate: small garbage reduction by concatenation
String interpolation means an extra string is created.
2010-12-03deflate+gzip: do not wrap rack.input if already encoded
Clients may pre-compress input so we do not have to deal with it on the server side.
2010-11-30support pass-through :encoding for deflate and gzip
These allow serving pre-compressed data off disk and on-the-fly uncompressing for the few clients that do not accept compressed responses.