chore(ui): make use of speculative loading
https://developer.mozilla.org/en-US/docs/Web/Performance/Speculative_loading
This commit is contained in:
parent
b88b96546f
commit
064caaa946
1 changed files with 12 additions and 0 deletions
|
@ -7,6 +7,18 @@
|
||||||
<title>What is my IP?</title>
|
<title>What is my IP?</title>
|
||||||
<link href="generated.css" rel="stylesheet" />
|
<link href="generated.css" rel="stylesheet" />
|
||||||
<script src="script.js" defer></script>
|
<script src="script.js" defer></script>
|
||||||
|
|
||||||
|
<link rel="dns-prefetch" href="https://fonts.googleapis.com/" />
|
||||||
|
<link rel="dns-prefetch" href="https://fonts.gstatic.com/" />
|
||||||
|
<link rel="dns-prefetch" href="https://api.ip.sb/" />
|
||||||
|
<link rel="dns-prefetch" href="https://api-v3.speedtest.cn/" />
|
||||||
|
<link rel="dns-prefetch" href="https://api.ipapi.is/" />
|
||||||
|
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com/" />
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com/" />
|
||||||
|
<link rel="preconnect" href="https://api.ip.sb/" />
|
||||||
|
<link rel="preconnect" href="https://api-v3.speedtest.cn/" />
|
||||||
|
<link rel="preconnect" href="https://api.ipapi.is/" />
|
||||||
</head>
|
</head>
|
||||||
<body
|
<body
|
||||||
class="text-violet-950 bg-violet-100 dark:text-slate-100 dark:bg-slate-900 font-mono font-medium text-sm md:text-base"
|
class="text-violet-950 bg-violet-100 dark:text-slate-100 dark:bg-slate-900 font-mono font-medium text-sm md:text-base"
|
||||||
|
|
Loading…
Reference in a new issue