Permalink
Browse files

added application/javascript

  • Loading branch information...
1 parent 9bb181a commit 6b3fd7ee2290b1e79d94cac91a4f56fcd6e65331 @mcurry mcurry committed Nov 1, 2008
Showing with 2 additions and 1 deletion.
  1. +2 −1 asset.htaccess
View
@@ -1,6 +1,6 @@
<IfModule mod_deflate.c>
# compress content with type html, text, and css
- AddOutputFilterByType DEFLATE text/css text/javascript application/x-javascript text/js
+ AddOutputFilterByType DEFLATE text/css text/javascript application/javascript application/x-javascript text/js
<IfModule mod_headers.c>
# properly handle requests coming from behind proxies
Header append Vary User-Agent
@@ -13,6 +13,7 @@
ExpiresByType text/js "access plus 10 years"
ExpiresByType text/javascript "access plus 10 years"
ExpiresByType application/x-javascript "access plus 10 years"
+ ExpiresByType application/javascript "access plus 10 years"
ExpiresByType image/png "access plus 10 years"
ExpiresByType image/gif "access plus 10 years"
ExpiresByType image/jpeg "access plus 10 years"

0 comments on commit 6b3fd7e

Please sign in to comment.