diff options
author | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2006-12-22 17:38:33 +0000 |
---|---|---|
committer | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2006-12-22 17:38:33 +0000 |
commit | a10f4ce3652a05c53c2fe2eeff61c9936972fbc4 (patch) | |
tree | b2d90dc43f38b73e4dc8fb9aea15608dfe4c9020 | |
parent | 060f4507133cda370a5d4dcddf4cda20e8c0ffd3 (diff) |
cache controles hinzugefuewqgt
git-svn-id: svn://svn.cccv.de/engel-system@219 29ba0400-6e00-0410-a75a-ca02368028f8
-rw-r--r-- | www-ssl/inc/ShowUserPicture.php | 3 |
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 |