perf: load icons css last

This commit is contained in:
ThatOneCalculator 2022-11-19 00:52:41 -08:00
parent aa66bded69
commit 684f7be189
1 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,6 @@ html
link(rel='prefetch' href=`/static-assets/badges/info.png?${ timestamp }`) 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/not-found.png?${ timestamp }`)
link(rel='prefetch' href=`/static-assets/badges/error.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='stylesheet' href=`/static-assets/instance.css?${ timestamp }`)
link(rel='modulepreload' href=`/assets/${clientEntry.file}`) link(rel='modulepreload' href=`/assets/${clientEntry.file}`)
@ -48,6 +47,8 @@ html
each href in clientEntry.css each href in clientEntry.css
link(rel='preload' href=`/assets/${href}` as='style') link(rel='preload' href=`/assets/${href}` as='style')
link(rel='stylesheet' href='/assets/phosphor/icons.css')
title title
block title block title
= title || 'Calckey' = title || 'Calckey'