cache controles hinzugefuewqgt
git-svn-id: svn://svn.cccv.de/engel-system@219 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
parent
060f450713
commit
a10f4ce365
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue