Skip to content
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 GZip compression to woff fonts #198

Closed
juan88 opened this issue Jul 6, 2018 · 2 comments
Closed

Add GZip compression to woff fonts #198

juan88 opened this issue Jul 6, 2018 · 2 comments

Comments

@juan88
Copy link

juan88 commented Jul 6, 2018

More woff fonts are available now and it is not in the default configuration of nginx.

Maybe this is useful for someone else.

Just add application/font-woff in gzip_types config.

I can add the PR if you want.

Thanks!

@alrra
Copy link
Member

alrra commented Jul 6, 2018

Add GZip compression to woff fonts

WOFF files are compressed by default using gzip.

@juan88 See: h5bp/server-configs-apache#42

@alrra alrra closed this as completed Jul 6, 2018
@minusf
Copy link
Contributor

minusf commented Oct 23, 2019

i just wanted to add that some woff files are compressed very badly and actually gzipping them makes sense... the linked issue's verdict "It general it doesn't seem to be worth it." is perhaps fine, but with custom fonts all bets are off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants