summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-ssl/inc/ShowUserPicture.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/www-ssl/inc/ShowUserPicture.php b/www-ssl/inc/ShowUserPicture.php
index adad49cb..8e058127 100644
--- a/www-ssl/inc/ShowUserPicture.php
+++ b/www-ssl/inc/ShowUserPicture.php
@@ -44,6 +44,9 @@ if( mysql_num_rows($res) == 1)
header( "Accept-Ranges: bytes");
header( "Content-Length: ". strlen($bild));
header( "Content-type: ". mysql_result($res, 0, "ContentType"));
+ header( "Cache-control: public");
+ header( "Cache-request-directive: min-fresh = 120");
+ header( "Cache-request-directive: max-age = 360");
echo $bild;
}
else