diff options
author | tvld <tom@lorinthe.com> | 2011-08-17 16:54:56 +0300 |
---|---|---|
committer | tvld <tom@lorinthe.com> | 2011-08-17 16:54:56 +0300 |
commit | 21017bfa5016ac33bb115dece9c465990086e813 (patch) | |
tree | db8f1c7c61609ab0b237329d9b1356e8f57a6762 /htaccess_dist | |
parent | 7db07d8031955772f129d0b3fc1dbd9f2609454c (diff) | |
download | elgg-21017bfa5016ac33bb115dece9c465990086e813.tar.gz elgg-21017bfa5016ac33bb115dece9c465990086e813.tar.bz2 |
My very first attempt to contribute...
http://trac.elgg.org/ticket/3601
For optimal speed, Firebug's Yslow complained that the js and ico files did not have an Etag.
Diffstat (limited to 'htaccess_dist')
-rw-r--r-- | htaccess_dist | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/htaccess_dist b/htaccess_dist index 3acdd2a32..bf163c69e 100644 --- a/htaccess_dist +++ b/htaccess_dist @@ -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 |