diff --git a/.htaccess b/.htaccess
index 5248bd8..e65dce2 100644
--- a/.htaccess
+++ b/.htaccess
@@ -155,13 +155,26 @@ DirectoryIndex index.php index.html index.htm
 
     # Serve correct content types, and prevent mod_deflate double gzip.
     RewriteRule \.css\.gz$ - [T=text/css,E=no-gzip:1]
-    RewriteRule \.js\.gz$ - [T=text/javascript,E=no-gzip:1]
+    RewriteRule \.js\.gz$ - [T=application/javascript,E=no-gzip:1]
 
-    <FilesMatch "(\.js\.gz|\.css\.gz)$">
+    <FilesMatch "(\.js\.gz)$">
+      # Serve correct content type.
+      Header set Content-Type application/javascript
       # Serve correct encoding type.
       Header set Content-Encoding gzip
-      # Force proxies to cache gzipped & non-gzipped css/js files separately.
+      # Force proxies to cache gzipped & non-gzipped js files separately.
       Header append Vary Accept-Encoding
     </FilesMatch>
+
+    <FilesMatch "(\.css\.gz)$">
+      # Serve correct content type.
+      Header set Content-Type text/css
+      # Serve correct encoding type.
+      Header set Content-Encoding gzip
+      # Force proxies to cache gzipped & non-gzipped css files separately.
+      Header append Vary Accept-Encoding
+    </FilesMatch>
+
   </IfModule>
 </IfModule>
+AddType application/javascript .js .js.gz
