aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/CssController.php1
-rw-r--r--core/Controller/JsController.php1
2 files changed, 0 insertions, 2 deletions
diff --git a/core/Controller/CssController.php b/core/Controller/CssController.php
index 30e0b0ce73b..3406db40653 100644
--- a/core/Controller/CssController.php
+++ b/core/Controller/CssController.php
@@ -90,7 +90,6 @@ class CssController extends Controller {
$expires->setTimestamp($this->timeFactory->getTime());
$expires->add(new \DateInterval('PT'.$ttl.'S'));
$response->addHeader('Expires', $expires->format(\DateTime::RFC1123));
- $response->addHeader('Pragma', 'cache');
return $response;
}
diff --git a/core/Controller/JsController.php b/core/Controller/JsController.php
index 02e0c16b5a1..e2b432fef5e 100644
--- a/core/Controller/JsController.php
+++ b/core/Controller/JsController.php
@@ -90,7 +90,6 @@ class JsController extends Controller {
$expires->setTimestamp($this->timeFactory->getTime());
$expires->add(new \DateInterval('PT'.$ttl.'S'));
$response->addHeader('Expires', $expires->format(\DateTime::RFC1123));
- $response->addHeader('Pragma', 'cache');
return $response;
}