Enable Gzip compression of static assets #2

Merged
merged 1 commit into from May 12, 2013

Conversation

Projects
None yet
2 participants
Contributor

pedrokost commented May 12, 2013

I enabled Gzip compression.

Owner

indirect commented May 12, 2013

Is rack deflater part of the rack gem? Does it need to be required?

Contributor

pedrokost commented May 12, 2013

Yes, Rack::Deflater is part of the rack gem, which is a dependency of middleman-core. So no need to explicitly include it in the Gemfile.

And there's no need to include it in config.ru. I have this setup, and it works well on Heroku.

Owner

indirect commented May 12, 2013

Cool, thanks.

indirect added a commit that referenced this pull request May 12, 2013

Merge pull request #2 from pedrokost/gzip
Enable Gzip compression of static assets

@indirect indirect merged commit 4ee9ab3 into indirect:master May 12, 2013

@pedrokost pedrokost deleted the pedrokost:gzip branch May 12, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment