Permalink
Browse files

gzip css and javascripts by default when using Apache and mod_deflate

  • Loading branch information...
1 parent b242b02 commit dd30b9ff37a4d67302247a08c2e5fb43835b8026 @dcrec1 committed Feb 8, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 htaccess
View
@@ -12,4 +12,8 @@
ExpiresDefault "access plus 1 year"
</ifModule>
+<IfModule mod_deflate.c>
+ AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/javascript application/x-javascript
+</IfModule>
+
FileETag None

0 comments on commit dd30b9f

Please sign in to comment.