Skip to content

Instantly share code, notes, and snippets.

@simonwhatley
Created August 24, 2012 14:04
Show Gist options
  • Save simonwhatley/3450928 to your computer and use it in GitHub Desktop.
Save simonwhatley/3450928 to your computer and use it in GitHub Desktop.
Optimisation with mod_deflate
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript application/x-javascript
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