Created
May 20, 2013 22:54
-
-
Save TerasawaShuhei/5616242 to your computer and use it in GitHub Desktop.
apache Gzip有効化
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
#Gzip | |
<IfModule mod_deflate.c> | |
SetOutputFilter DEFLATE | |
BrowserMatch ^Mozilla/4 gzip-only-text/html | |
BrowserMatch ^Mozilla/4\.0[678] no-gzip | |
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html SetEnvIfNoCase Request_URI \.(?:gif¦jpe?g¦png)$ no-gzip dont-vary Header append Vary User-Agent env=!dont-vary | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment