diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-12-04 13:13:10 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-12-04 13:13:10 +0000 |
commit | ba283cd07db0614fb7260cca3c7f22a83392fc3f (patch) | |
tree | d0b4b70a501bb905b4dace9b5318f8a7050d1ec3 /htaccess_dist | |
parent | ecf9251d49f34891bf069446ece8bd4bc9d6e90d (diff) | |
download | elgg-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_dist | 5 |
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
|