From a10f4ce3652a05c53c2fe2eeff61c9936972fbc4 Mon Sep 17 00:00:00 2001 From: cookie Date: Fri, 22 Dec 2006 17:38:33 +0000 Subject: [PATCH] cache controles hinzugefuewqgt git-svn-id: svn://svn.cccv.de/engel-system@219 29ba0400-6e00-0410-a75a-ca02368028f8 --- www-ssl/inc/ShowUserPicture.php | 3 +++ 1 file changed, 3 insertions(+) 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