From b180f618f21389a9e15ade5a81aca17f616fa5aa Mon Sep 17 00:00:00 2001 From: emkael Date: Sat, 21 Jul 2018 20:57:20 +0200 Subject: Don't HTTP2-push external assets --- app/frontend/web/ClientScriptManager.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'app/frontend/web') 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'); } } -- cgit v1.2.3