feat(frontend): adds performance tweaks
This commit is contained in:
parent
83e61c40f8
commit
b2f324de23
@ -20,3 +20,8 @@ gloo-net = "0.6.0"
|
||||
serde = { version = "1.0.209", features = ["derive"] }
|
||||
serde_json = "1.0.127"
|
||||
rand = "0.8.5"
|
||||
|
||||
[profile.release]
|
||||
opt-level = "z"
|
||||
lto = true
|
||||
strip = true
|
@ -49,7 +49,11 @@
|
||||
align-items: center;
|
||||
}
|
||||
</style>
|
||||
<link data-trunk href="./public/styles.css" rel="css">
|
||||
<link data-trunk href="./public/styles.css" rel="preload" as="style" onload="this.onload=null;this.rel='css'">
|
||||
<noscript>
|
||||
<link rel="css" href="./public/styles.css">
|
||||
</noscript>
|
||||
<!-- <link data-trunk href="./public/styles.css" rel="css"> -->
|
||||
<link data-trunk rel="copy-file" href="public/robots.txt" data-target-path="/" />
|
||||
<!-- <link data-trunk href="./assets/favicon.ico" rel="icon" type="image/x-icon"> -->
|
||||
<link data-trunk rel="copy-dir" href="public">
|
||||
|
Loading…
x
Reference in New Issue
Block a user