fix(client): Vite related boot mechanism revision (#8753)

* preload app css

* remove salt

* APP_FETCH_FAILED error

* set max-age to 15s
This commit is contained in:
tamaina
2022-05-29 10:58:54 +09:00
committed by GitHub
parent 4917961736
commit f1d2398eac
3 changed files with 14 additions and 17 deletions

View File

@@ -37,6 +37,10 @@ html
link(rel='prefetch' href='https://xn--931a.moe/assets/not-found.jpg')
link(rel='prefetch' href='https://xn--931a.moe/assets/error.jpg')
link(rel='stylesheet' href='/assets/fontawesome/css/all.css')
link(rel='modulepreload' href=`/assets/${clientEntry.file}`)
each href in clientEntry.css
link(rel='preload' href=`/assets/${href}` as='style')
each href in clientEntry.css
link(rel='preload' href=`/assets/${href}` as='style')