cache-bursting for stylesheets and fonts
adding `?version=…` makes sure browsers get the latest files, and it looks like they honour the caching headers we send back
This commit is contained in:
@@ -40,8 +40,8 @@ html
|
||||
link(rel='prefetch' href=infoImageUrl)
|
||||
link(rel='prefetch' href=notFoundImageUrl)
|
||||
//- https://github.com/misskey-dev/misskey/issues/9842
|
||||
link(rel='stylesheet' href='/assets/phosphor-icons/bold/style.css')
|
||||
link(rel='stylesheet' href='/static-assets/fonts/sharkey-icons/style.css')
|
||||
link(rel='stylesheet' href=`/assets/phosphor-icons/bold/style.css?version=${version}`)
|
||||
link(rel='stylesheet' href=`/static-assets/fonts/sharkey-icons/style.css?version=${version}`)
|
||||
link(rel='modulepreload' href=`/vite/${clientEntry.file}`)
|
||||
|
||||
if !config.clientManifestExists
|
||||
|
||||
Reference in New Issue
Block a user