Skip to content

Commit

Permalink
Enable gzip compression via Rack.
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Oct 17, 2013
1 parent 9803d87 commit ed5d0a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
configure :build do
activate :minify_css
activate :minify_javascript
activate :gzip
activate :cache_buster
activate :asset_hash
# activate :favicon_maker,
Expand Down
2 changes: 2 additions & 0 deletions config.ru
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ use Rack::Rewrite do
end)
end

use Rack::Deflater

if ENV["HEROKU"].nil? || ENV["HEROKU"] == 'false'
require "middleman"
run Middleman.server
Expand Down

0 comments on commit ed5d0a9

Please sign in to comment.