Last active
December 23, 2015 06:38
-
-
Save pjdietz/6594886 to your computer and use it in GitHub Desktop.
Boilerplate code for adding gzip support with mod_deflate
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
<VirtualHost *:80> | |
... | |
<IfModule mod_deflate.c> | |
# Automatically compress these mime types | |
AddOutputFilterByType DEFLATE text/plain text/html text/css text/xml applicaton/json | |
</IfModule> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment