Created
February 5, 2018 15:06
-
-
Save mrkkr/b3b2daacfa50d83139673ec39fb98e83 to your computer and use it in GitHub Desktop.
gzip deflate fonts #htacess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_deflate.c> | |
<IfModule mod_headers.c> | |
Header append Vary User-Agent env=!dont-vary | |
</IfModule> | |
AddType x-font/otf .otf | |
AddType x-font/ttf .ttf | |
AddType x-font/eot .eot | |
AddType x-font/woff .woff | |
BrowserMatch ^Mozilla/4 gzip-only-text/html | |
BrowserMatch ^Mozilla/4.0[678] no-gzip | |
BrowserMatch bMSIE !no-gzip !gzip-only-text/html | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment