From fa1d2ecd8fdf03dbc442d171d4c5783aa07668fb Mon Sep 17 00:00:00 2001 From: Gibheer Date: Wed, 10 Aug 2011 20:05:45 +0200 Subject: [PATCH] compress everything with gzip --- config.ru | 1 + 1 file changed, 1 insertion(+) diff --git a/config.ru b/config.ru index be826ee..98f2b18 100644 --- a/config.ru +++ b/config.ru @@ -2,6 +2,7 @@ $LOAD_PATH << File.expand_path(File.dirname(__FILE__)) + '/' require 'libs' use Rack::CommonLogger +use Rack::Deflater # compress with gzip use Rack::Static, :urls => ['/public', '/images'] run Rack::URLMap.new({ '/' => Blog,