Skip to content

Instantly share code, notes, and snippets.

@jnaO
Last active December 11, 2015 22:58
Show Gist options
  • Save jnaO/4672766 to your computer and use it in GitHub Desktop.
Save jnaO/4672766 to your computer and use it in GitHub Desktop.
.htaccess
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/css application/json
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE text/xml application/xml text/x-component
AddOutputFilterByType DEFLATE application/xhtml+xml application/rss+xml application/atom+xml
AddOutputFilterByType DEFLATE image/x-icon image/svg+xml application/vnd.ms-fontobject application/x-font-ttf font/opentype
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment