aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-11 09:41:22 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-11 09:41:22 +0000
commit40007e05257455cea3fb9d5c8bf3d17d3a19a0c8 (patch)
tree0a0240d7abb40cfc8b5dab45d753e4bceb03f96c
parent0ed7f169716897418226dedbaa674ab39a209bc3 (diff)
downloadelgg-40007e05257455cea3fb9d5c8bf3d17d3a19a0c8.tar.gz
elgg-40007e05257455cea3fb9d5c8bf3d17d3a19a0c8.tar.bz2
Expires header added to group icons
git-svn-id: https://code.elgg.org/elgg/trunk@2436 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/groups/graphics/icon.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/groups/graphics/icon.php b/mod/groups/graphics/icon.php
index 99a79dab0..8528ea8a9 100644
--- a/mod/groups/graphics/icon.php
+++ b/mod/groups/graphics/icon.php
@@ -37,6 +37,7 @@
}
header("Content-type: image/jpeg");
+ header('Expires: ' . date('r',time() + 864000));
header("Pragma: public");
header("Cache-Control: public");
header("Content-Length: " . strlen($contents));