From 684f7be1897ef9ecd1349e117e264bce383a786b Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Sat, 19 Nov 2022 00:52:41 -0800 Subject: [PATCH] perf: :zap: load icons css last --- packages/backend/src/server/web/views/base.pug | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/backend/src/server/web/views/base.pug b/packages/backend/src/server/web/views/base.pug index 547fc34a89..ad6572488f 100644 --- a/packages/backend/src/server/web/views/base.pug +++ b/packages/backend/src/server/web/views/base.pug @@ -38,7 +38,6 @@ html link(rel='prefetch' href=`/static-assets/badges/info.png?${ timestamp }`) link(rel='prefetch' href=`/static-assets/badges/not-found.png?${ timestamp }`) link(rel='prefetch' href=`/static-assets/badges/error.png?${ timestamp }`) - link(rel='stylesheet' href='/assets/phosphor/icons.css') link(rel='stylesheet' href=`/static-assets/instance.css?${ timestamp }`) link(rel='modulepreload' href=`/assets/${clientEntry.file}`) @@ -48,6 +47,8 @@ html each href in clientEntry.css link(rel='preload' href=`/assets/${href}` as='style') + link(rel='stylesheet' href='/assets/phosphor/icons.css') + title block title = title || 'Calckey'