]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
My very first attempt to contribute...
authortvld <tom@lorinthe.com>
Wed, 17 Aug 2011 13:54:56 +0000 (16:54 +0300)
committertvld <tom@lorinthe.com>
Wed, 17 Aug 2011 13:54:56 +0000 (16:54 +0300)
http://trac.elgg.org/ticket/3601

For optimal speed, Firebug's Yslow complained that the js and ico files did not have an Etag.

htaccess_dist

index 3acdd2a320b7f9612101968d8150b1866691c053..bf163c69ea8c7c6f05a3b5dd30b02f34ad92a295 100644 (file)
@@ -76,10 +76,13 @@ DirectoryIndex index.php
 </IfModule>
 
 # Configure ETags
-<FilesMatch "\.(jpg|jpeg|gif|png|mp3|flv|mov|avi|3pg|html|htm|swf)$">
+<FilesMatch "\.(jpg|jpeg|gif|png|mp3|flv|mov|avi|3pg|html|htm|swf|js|ico)$">
        FileETag MTime Size
 </FilesMatch>
 
+#  Add Proper MIME-Type for Favicon to allow expires to work
+AddType image/vnd.microsoft.icon .ico
+
 <IfModule mod_rewrite.c>
 
 RewriteEngine on