From 75a124b4490adb7d333046ecafbee209751b2bbe Mon Sep 17 00:00:00 2001 From: silverwind Date: Sat, 25 Jan 2020 19:58:26 +0100 Subject: remove loadCSS and preload woff2 icon fonts (#9976) loadCSS was used as a polyfill for rel=preload but it seems we only used it on a single CSS file which did not help much. Changed the icon CSS to a blocking load and preload the woff2 variants which does work in modern browsers (Firefox currently needs the network.preload about:config setting but should gain proper support soon). Co-authored-by: zeripath --- templates/base/head.tmpl | 14 ++++---------- templates/pwa/serviceworker_js.tmpl | 2 -- 2 files changed, 4 insertions(+), 12 deletions(-) (limited to 'templates') diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 523d83dd41..5a27467f3b 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -50,7 +50,6 @@ {{end}} - - - - + - + + + {{if .RequireSimpleMDE}} {{end}} @@ -98,8 +97,6 @@ {{if .RequireTribute}} {{end}} - -