aboutsummaryrefslogtreecommitdiffstats
path: root/apps/media
diff options
context:
space:
mode:
Diffstat (limited to 'apps/media')
-rw-r--r--apps/media/ajax/api.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/media/ajax/api.php b/apps/media/ajax/api.php
index 46f18b848e6..a9bd4f745af 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');