Skip to content

Commit 750fc96

Browse files
authored
Merge pull request #64 from neuroneural/optimize-performance
Optimize performance
2 parents f81fcf5 + 2ac99da commit 750fc96

File tree

5 files changed

+1179
-607
lines changed

5 files changed

+1179
-607
lines changed

index.html

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,21 @@
44
<head>
55
<meta charset="UTF-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<link rel="stylesheet" href="/niivue.css" />
8-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
7+
8+
<!-- DNS prefetch for external resources -->
9+
<link rel="dns-prefetch" href="//cdnjs.cloudflare.com" />
10+
11+
<!-- Preconnect to external domains -->
12+
<link rel="preconnect" href="https://cdnjs.cloudflare.com" crossorigin />
13+
14+
<!-- Preload critical CSS -->
15+
<link rel="preload" href="./niivue.css" as="style" />
16+
<link rel="stylesheet" href="./niivue.css" />
17+
18+
<!-- Load Font Awesome with resource hints -->
19+
<link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'" />
20+
<noscript><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" /></noscript>
21+
922
<title>AI powered brain segmentation</title>
1023
</head>
1124

0 commit comments

Comments
 (0)