summaryrefslogtreecommitdiff
path: root/app/frontend/web/ClientScriptManager.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-07-21 20:57:20 +0200
committeremkael <emkael@tlen.pl>2018-07-21 20:57:20 +0200
commitb180f618f21389a9e15ade5a81aca17f616fa5aa (patch)
tree61c3ce7de02e6bcddc7eabafbc074353f0afbd69 /app/frontend/web/ClientScriptManager.php
parentedbccc4468427db250de2efedd1b7c1af0d79256 (diff)
Don't HTTP2-push external assetsHEADmaster
Diffstat (limited to 'app/frontend/web/ClientScriptManager.php')
-rw-r--r--app/frontend/web/ClientScriptManager.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/frontend/web/ClientScriptManager.php b/app/frontend/web/ClientScriptManager.php
index a26e0d6..b05f9e6 100644
--- a/app/frontend/web/ClientScriptManager.php
+++ b/app/frontend/web/ClientScriptManager.php
@@ -201,7 +201,6 @@ class ClientScriptManager extends TClientScriptManager {
private function _renderExternalScriptFiles(THtmlWriter $writer, array $externalFiles) {
if ($externalFiles) {
foreach ($externalFiles as $file) {
- $this->_setHTTP2PushHeader($file);
$this->markScriptFileAsRendered($file);
$this->_appendRenderedScripts([$file], $file);
}
@@ -441,7 +440,6 @@ class ClientScriptManager extends TClientScriptManager {
if ($externalFiles) {
foreach ($externalFiles as $file) {
$this->_appendRenderedSheets([$file], $file[0]);
- $this->_setHTTP2PushHeader($file[0]);
$this->_renderSheetFileTag($writer, $file[0], $file[1] ?: 'all');
}
}