aboutsummaryrefslogtreecommitdiff
path: root/htaccess_dist
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-12-04 13:13:10 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-12-04 13:13:10 +0000
commitba283cd07db0614fb7260cca3c7f22a83392fc3f (patch)
treed0b4b70a501bb905b4dace9b5318f8a7050d1ec3 /htaccess_dist
parentecf9251d49f34891bf069446ece8bd4bc9d6e90d (diff)
downloadelgg-ba283cd07db0614fb7260cca3c7f22a83392fc3f.tar.gz
elgg-ba283cd07db0614fb7260cca3c7f22a83392fc3f.tar.bz2
ETag support
git-svn-id: https://code.elgg.org/elgg/trunk@2501 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'htaccess_dist')
-rw-r--r--htaccess_dist5
1 files changed, 5 insertions, 0 deletions
diff --git a/htaccess_dist b/htaccess_dist
index 75c3d4f04..2d6852956 100644
--- a/htaccess_dist
+++ b/htaccess_dist
@@ -80,6 +80,11 @@ DirectoryIndex index.php
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</IfModule>
+# Configure ETags
+<FilesMatch "\.(jpg|jpeg|gif|png|mp3|flv|mov|avi|3pg|html|htm|swf)$">
+ FileETag MTime Size
+</FilesMatch>
+
<IfModule mod_rewrite.c>
RewriteEngine on