New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a few common, compressable types to gzip_types #1254

Merged
merged 1 commit into from Aug 8, 2014

Conversation

Projects
None yet
2 participants
@jelder

jelder commented Aug 4, 2014

After switching to Passenger, we found that YSlow and Google PageSpeed were warning about lack of compression on our font and SVG files. This change adds the following types to the gzip_types configuration parameter in the default NginX config:

  • application/rss+xml
  • application/vnd.ms-fontobject
  • application/x-font-ttf
  • application/xml
  • font/opentype
  • image/svg+xml
  • text/xml
@FooBarWidget

This comment has been minimized.

Show comment
Hide comment
@FooBarWidget

FooBarWidget Aug 7, 2014

Member

Looks like a good change. Could you sign our contributor agreement so that we can merge your patch?

Member

FooBarWidget commented Aug 7, 2014

Looks like a good change. Could you sign our contributor agreement so that we can merge your patch?

@jelder

This comment has been minimized.

Show comment
Hide comment
@jelder

jelder commented Aug 7, 2014

@FooBarWidget Sure, sent!

FooBarWidget added a commit that referenced this pull request Aug 8, 2014

Merge pull request #1254 from jelder/add_gzip_types
Add a few common, compressable types to gzip_types

@FooBarWidget FooBarWidget merged commit edd843e into phusion:master Aug 8, 2014

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details
@FooBarWidget

This comment has been minimized.

Show comment
Hide comment
@FooBarWidget

FooBarWidget Aug 8, 2014

Member

Thanks. :)

Member

FooBarWidget commented Aug 8, 2014

Thanks. :)

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