aboutsummaryrefslogtreecommitdiffstats
path: root/en/downloads/get/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'en/downloads/get/index.php')
-rw-r--r--en/downloads/get/index.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/en/downloads/get/index.php b/en/downloads/get/index.php
index 7f57a36f9..ea3ed5ce0 100644
--- a/en/downloads/get/index.php
+++ b/en/downloads/get/index.php
@@ -141,9 +141,12 @@ catch (Exception $e) {
if (!$download) {
header('HTTP/1.0 404 Not Found');
header('Status: 404 Not Found');
- $title = '404 Not Found';
+ header('Cache-Control: public, max-age=600, s-max-age=900');
+ $title = '404 Not Found';
$js_redirect = null;
} else {
+ header('Pragma: no-cache');
+ header('Cache-Control: s-maxage=0, max-age=0, must-revalidate, no-cache');
$title = $product['name'];
}