diff --git a/apps/media/ajax/api.php b/apps/media/ajax/api.php index 46f18b848e6481b044ad180fbd876aadf02c3cb6..a9bd4f745af18338cbad0ebf12a1e7062d255ee9 100644 --- a/apps/media/ajax/api.php +++ b/apps/media/ajax/api.php @@ -129,8 +129,7 @@ if($arguments['action']){ // calc the string in GMT not localtime and add the offset $expire = "Expires: " . gmdate("D, d M Y H:i:s", time() + $offset) . " GMT"; //output the HTTP header - Header($expire); - header('Expires: 0'); + header($expire); header('Cache-Control: max-age=3600, must-revalidate'); header('Pragma: public'); header('Accept-Ranges: bytes');