cache controles hinzugefuewqgt

git-svn-id: svn://svn.cccv.de/engel-system@219 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
cookie 2006-12-22 17:38:33 +00:00
parent 060f450713
commit a10f4ce365
1 changed files with 3 additions and 0 deletions

View File

@ -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