Skip to content

Commit 67993a9

Browse files
committed
enhance: improve site loading performance
- Reduce Google Fonts from 10 to 8 weights (drop JetBrains Mono 600, Noto Sans SC 300) to decrease font download size - Defer Baidu Analytics to window.onload to eliminate render blocking - Minify search.js (7KB → 4.1KB) - Add defer attribute to search.js for parallel download - Update CSS font-weight:300 references to 400 (matching font trim) - Bump cache version to v=20260323a and SW cache to os-v34
1 parent 3371175 commit 67993a9

192 files changed

Lines changed: 1328 additions & 3035 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

404.html

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
<link rel="icon" href="favicon.svg" type="image/svg+xml">
2121
<link rel="icon" href="favicon-32x32.png" sizes="32x32" type="image/png">
2222
<link rel="apple-touch-icon" href="apple-touch-icon.png">
23-
<link rel="manifest" href="manifest.json?v=20260321l">
23+
<link rel="manifest" href="manifest.json?v=20260323a">
2424
<link rel="preconnect" href="https://fonts.googleapis.com">
2525
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
26-
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&family=Noto+Sans+SC:wght@300;400;500;700;900&family=Orbitron:wght@700;900&display=swap" rel="stylesheet">
27-
<link rel="stylesheet" href="css/style.css?v=20260321l">
26+
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400&family=Noto+Sans+SC:wght@400;500;700;900&family=Orbitron:wght@700;900&display=swap" rel="stylesheet">
27+
<link rel="stylesheet" href="css/style.css?v=20260323a">
2828
<style>
2929
.err-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;
3030
text-align:center;min-height:calc(100vh - 200px);padding:100px 20px 80px}
@@ -37,7 +37,7 @@
3737
@keyframes err-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
3838
@keyframes err-shadow{0%,100%{width:120px;opacity:1}50%{width:80px;opacity:.5}}
3939
.err-title{font-size:clamp(1.4rem,3vw,1.8rem);font-weight:900;color:var(--text);margin-bottom:12px}
40-
.err-desc{font-size:1rem;color:var(--text-dim);max-width:440px;line-height:1.7;font-weight:300;margin-bottom:28px}
40+
.err-desc{font-size:1rem;color:var(--text-dim);max-width:440px;line-height:1.7;font-weight:400;margin-bottom:28px}
4141
.err-btn{display:inline-flex;align-items:center;gap:8px;padding:14px 32px;border-radius:var(--r);
4242
font-size:.9rem;font-weight:600;text-decoration:none;transition:all .3s;font-family:var(--font);
4343
background:var(--red);color:#fff;border:1.5px solid var(--red);box-shadow:0 4px 20px rgba(199,70,52,.25)}
@@ -68,15 +68,7 @@
6868
.err-code::after{animation:none}
6969
}
7070
</style>
71-
<script>
72-
var _hmt = _hmt || [];
73-
(function() {
74-
var hm = document.createElement("script");
75-
hm.src = "https://hm.baidu.com/hm.js?b873527e8685653a23ed88324ba56f4d";
76-
var s = document.getElementsByTagName("script")[0];
77-
s.parentNode.insertBefore(hm, s);
78-
})();
79-
</script>
71+
<script>var _hmt=_hmt||[];window.addEventListener('load',function(){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?b873527e8685653a23ed88324ba56f4d";document.head.appendChild(hm)});</script>
8072
<!-- Google tag (gtag.js) -->
8173
<script async src="https://www.googletagmanager.com/gtag/js?id=G-GNDHG1PZLG"></script>
8274
<script>
@@ -111,7 +103,7 @@ <h1 class="err-title" data-i18n="err404Title">页面未找到</h1>
111103
</section>
112104

113105
<div id="footer"></div>
114-
<script src="js/shared.js?v=20260321l"></script>
106+
<script src="js/shared.js?v=20260323a"></script>
115107
<script>
116108
document.getElementById('nav').innerHTML = navHTML('');
117109
document.getElementById('footer').innerHTML = footerHTML();
@@ -143,6 +135,6 @@ <h1 class="err-title" data-i18n="err404Title">页面未找到</h1>
143135
if (currentLang !== 'zh') setLang(currentLang);
144136
</script>
145137
<script>if('serviceWorker' in navigator){navigator.serviceWorker.register('sw.js')}</script>
146-
<script src="js/search.js?v=20260321l"></script>
138+
<script defer src="js/search.js?v=20260323a"></script>
147139
</body>
148140
</html>

compat.html

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@
2929
<link rel="icon" href="favicon.svg" type="image/svg+xml">
3030
<link rel="icon" href="favicon-32x32.png" sizes="32x32" type="image/png">
3131
<link rel="apple-touch-icon" href="apple-touch-icon.png">
32-
<link rel="manifest" href="manifest.json?v=20260321l">
32+
<link rel="manifest" href="manifest.json?v=20260323a">
3333
<link rel="preconnect" href="https://fonts.googleapis.com">
3434
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
35-
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&family=Noto+Sans+SC:wght@300;400;500;700;900&family=Orbitron:wght@700;900&display=swap" rel="stylesheet">
36-
<link rel="stylesheet" href="css/style.css?v=20260321l">
35+
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400&family=Noto+Sans+SC:wght@400;500;700;900&family=Orbitron:wght@700;900&display=swap" rel="stylesheet">
36+
<link rel="stylesheet" href="css/style.css?v=20260323a">
3737
<style>
3838
/* HERO */
3939
.cp-hero{padding:100px 0 24px;text-align:center}
4040
.cp-hero h1{font-size:clamp(1.8rem,4vw,2.6rem);font-weight:900;color:var(--text);margin-bottom:14px}
41-
.cp-hero p{color:var(--text-dim);font-size:.95rem;max-width:580px;margin:0 auto;line-height:1.75;font-weight:300}
41+
.cp-hero p{color:var(--text-dim);font-size:.95rem;max-width:580px;margin:0 auto;line-height:1.75;font-weight:400}
4242

4343
/* STATS BAR */
4444
.cp-stats{display:flex;justify-content:center;gap:40px;flex-wrap:wrap;margin-top:36px}
@@ -139,15 +139,7 @@
139139
.mx-table tbody tr:not(.mx-cat) td.mx-no{border-color:var(--border);opacity:.5}
140140
}
141141
</style>
142-
<script>
143-
var _hmt = _hmt || [];
144-
(function() {
145-
var hm = document.createElement("script");
146-
hm.src = "https://hm.baidu.com/hm.js?b873527e8685653a23ed88324ba56f4d";
147-
var s = document.getElementsByTagName("script")[0];
148-
s.parentNode.insertBefore(hm, s);
149-
})();
150-
</script>
142+
<script>var _hmt=_hmt||[];window.addEventListener('load',function(){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?b873527e8685653a23ed88324ba56f4d";document.head.appendChild(hm)});</script>
151143
<!-- Google tag (gtag.js) -->
152144
<script async src="https://www.googletagmanager.com/gtag/js?id=G-GNDHG1PZLG"></script>
153145
<script>
@@ -278,7 +270,7 @@ <h1 class="anim-up grad-text" data-i18n="cpTitle">安装合集</h1>
278270
</div></section>
279271

280272
<div id="footer"></div>
281-
<script src="js/shared.js?v=20260321l"></script>
273+
<script src="js/shared.js?v=20260323a"></script>
282274
<script>
283275
document.getElementById('nav').innerHTML = navHTML('compat');
284276
document.getElementById('footer').innerHTML = footerHTML();
@@ -670,6 +662,6 @@ <h1 class="anim-up grad-text" data-i18n="cpTitle">安装合集</h1>
670662
});
671663
</script>
672664
<script>if('serviceWorker' in navigator){navigator.serviceWorker.register('sw.js')}</script>
673-
<script src="js/search.js?v=20260321l"></script>
665+
<script defer src="js/search.js?v=20260323a"></script>
674666
</body>
675667
</html>

css/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ img{max-width:100%;display:block}
136136
.section-center .section-eyebrow{justify-content:center}
137137
.section-center .section-eyebrow::before{display:none}
138138
.section-title{font-size:clamp(1.6rem,3.5vw,2.4rem);font-weight:900;color:var(--text);line-height:1.25;margin-bottom:14px}
139-
.section-desc{font-size:.95rem;color:var(--text-dim);max-width:560px;line-height:1.75;font-weight:300}
139+
.section-desc{font-size:.95rem;color:var(--text-dim);max-width:560px;line-height:1.75;font-weight:400}
140140
.section-center{text-align:center}
141141
.section-center .section-desc{margin:0 auto}
142142
.section-tag{font-size:.72rem;text-transform:uppercase;letter-spacing:4px;color:var(--text-muted);font-weight:600;margin-bottom:8px}
@@ -671,7 +671,7 @@ img{max-width:100%;display:block}
671671
/* === GENERATOR PAGE === */
672672
.gen-hero{padding:60px 0 24px;text-align:center}
673673
.gen-hero h1{font-size:1.8rem;font-weight:900;color:var(--text);margin-bottom:8px}
674-
.gen-hero p{color:var(--text-dim);font-size:.95rem;font-weight:300}
674+
.gen-hero p{color:var(--text-dim);font-size:.95rem;font-weight:400}
675675

676676
.mode-section{padding:20px 0 30px}
677677
.mode-label{font-size:.78rem;text-transform:uppercase;letter-spacing:2.5px;color:var(--text-muted);font-weight:600;margin-bottom:14px}

docs.html

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929
<link rel="icon" href="favicon.svg" type="image/svg+xml">
3030
<link rel="icon" href="favicon-32x32.png" sizes="32x32" type="image/png">
3131
<link rel="apple-touch-icon" href="apple-touch-icon.png">
32-
<link rel="manifest" href="manifest.json?v=20260321l">
32+
<link rel="manifest" href="manifest.json?v=20260323a">
3333
<link rel="preconnect" href="https://fonts.googleapis.com">
3434
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
35-
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&family=Noto+Sans+SC:wght@300;400;500;700;900&family=Orbitron:wght@700;900&display=swap" rel="stylesheet">
36-
<link rel="stylesheet" href="css/style.css?v=20260321l">
35+
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400&family=Noto+Sans+SC:wght@400;500;700;900&family=Orbitron:wght@700;900&display=swap" rel="stylesheet">
36+
<link rel="stylesheet" href="css/style.css?v=20260323a">
3737
<style>
3838
.doc-layout{display:grid;grid-template-columns:220px 1fr;gap:44px;padding:56px 0 80px;align-items:start}
3939
.doc-sidebar{position:sticky;top:calc(var(--nav-h) + 24px)}
@@ -206,15 +206,7 @@
206206
}
207207
}
208208
</script>
209-
<script>
210-
var _hmt = _hmt || [];
211-
(function() {
212-
var hm = document.createElement("script");
213-
hm.src = "https://hm.baidu.com/hm.js?b873527e8685653a23ed88324ba56f4d";
214-
var s = document.getElementsByTagName("script")[0];
215-
s.parentNode.insertBefore(hm, s);
216-
})();
217-
</script>
209+
<script>var _hmt=_hmt||[];window.addEventListener('load',function(){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?b873527e8685653a23ed88324ba56f4d";document.head.appendChild(hm)});</script>
218210
<!-- Google tag (gtag.js) -->
219211
<script async src="https://www.googletagmanager.com/gtag/js?id=G-GNDHG1PZLG"></script>
220212
<script>
@@ -1249,7 +1241,7 @@ <h3>v3.0.0 (2022-11-01)</h3>
12491241
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><path d="M18 15l-6-6-6 6"/></svg>
12501242
</button>
12511243
<div id="footer"></div>
1252-
<script src="js/shared.js?v=20260321l"></script>
1244+
<script src="js/shared.js?v=20260323a"></script>
12531245
<script>
12541246
document.getElementById('nav').innerHTML = navHTML('docs');
12551247
document.getElementById('footer').innerHTML = footerHTML();
@@ -1450,6 +1442,6 @@ <h3>v3.0.0 (2022-11-01)</h3>
14501442
});
14511443
</script>
14521444
<script>if('serviceWorker' in navigator){navigator.serviceWorker.register('sw.js')}</script>
1453-
<script src="js/search.js?v=20260321l"></script>
1445+
<script defer src="js/search.js?v=20260323a"></script>
14541446
</body>
14551447
</html>

download.html

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929
<link rel="icon" href="favicon.svg" type="image/svg+xml">
3030
<link rel="icon" href="favicon-32x32.png" sizes="32x32" type="image/png">
3131
<link rel="apple-touch-icon" href="apple-touch-icon.png">
32-
<link rel="manifest" href="manifest.json?v=20260321l">
32+
<link rel="manifest" href="manifest.json?v=20260323a">
3333
<link rel="preconnect" href="https://fonts.googleapis.com">
3434
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
35-
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&family=Noto+Sans+SC:wght@300;400;500;700;900&family=Orbitron:wght@700;900&display=swap" rel="stylesheet">
36-
<link rel="stylesheet" href="css/style.css?v=20260321l">
35+
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400&family=Noto+Sans+SC:wght@400;500;700;900&family=Orbitron:wght@700;900&display=swap" rel="stylesheet">
36+
<link rel="stylesheet" href="css/style.css?v=20260323a">
3737
<style>
3838
/* HERO */
3939
.dl-hero{padding:100px 0 36px;text-align:center}
@@ -42,7 +42,7 @@
4242
.dl-hero-eye::before,.dl-hero-eye::after{content:'';width:28px;height:1px;background:var(--border-light)}
4343
.dl-hero-eye::after{background:var(--border-light)}
4444
.dl-hero h1{font-size:clamp(1.8rem,4vw,2.6rem);font-weight:900;color:var(--text);margin-bottom:14px}
45-
.dl-hero p{color:var(--text-dim);font-size:.95rem;max-width:560px;margin:0 auto;line-height:1.75;font-weight:300}
45+
.dl-hero p{color:var(--text-dim);font-size:.95rem;max-width:560px;margin:0 auto;line-height:1.75;font-weight:400}
4646
.dl-hero p a{color:var(--red);text-decoration:none;font-weight:500}
4747
.dl-hero p a:hover{text-decoration:underline}
4848
.dl-hero-ver{display:inline-flex;align-items:center;gap:8px;margin-top:18px;padding:8px 18px;
@@ -185,15 +185,7 @@
185185
@media(max-width:700px){.dl-req-grid{grid-template-columns:repeat(2,1fr)}}
186186
@media(max-width:480px){.dl-req-grid{grid-template-columns:1fr}}
187187
</style>
188-
<script>
189-
var _hmt = _hmt || [];
190-
(function() {
191-
var hm = document.createElement("script");
192-
hm.src = "https://hm.baidu.com/hm.js?b873527e8685653a23ed88324ba56f4d";
193-
var s = document.getElementsByTagName("script")[0];
194-
s.parentNode.insertBefore(hm, s);
195-
})();
196-
</script>
188+
<script>var _hmt=_hmt||[];window.addEventListener('load',function(){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?b873527e8685653a23ed88324ba56f4d";document.head.appendChild(hm)});</script>
197189
<!-- Google tag (gtag.js) -->
198190
<script async src="https://www.googletagmanager.com/gtag/js?id=G-GNDHG1PZLG"></script>
199191
<script>
@@ -504,7 +496,7 @@ <h3 data-i18n="dlG6T">请尊重休息时间</h3>
504496

505497
</div><!-- /container -->
506498
<div id="footer"></div>
507-
<script src="js/shared.js?v=20260321l"></script>
499+
<script src="js/shared.js?v=20260323a"></script>
508500
<script>
509501
document.getElementById('nav').innerHTML = navHTML('download');
510502
document.getElementById('footer').innerHTML = footerHTML();
@@ -645,6 +637,6 @@ <h3 data-i18n="dlG6T">请尊重休息时间</h3>
645637
if (currentLang !== 'zh') setLang(currentLang);
646638
</script>
647639
<script>if('serviceWorker' in navigator){navigator.serviceWorker.register('sw.js')}</script>
648-
<script src="js/search.js?v=20260321l"></script>
640+
<script defer src="js/search.js?v=20260323a"></script>
649641
</body>
650642
</html>

generator.html

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,12 @@
2929
<link rel="icon" href="favicon.svg" type="image/svg+xml">
3030
<link rel="icon" href="favicon-32x32.png" sizes="32x32" type="image/png">
3131
<link rel="apple-touch-icon" href="apple-touch-icon.png">
32-
<link rel="manifest" href="manifest.json?v=20260321l">
32+
<link rel="manifest" href="manifest.json?v=20260323a">
3333
<link rel="preconnect" href="https://fonts.googleapis.com">
3434
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
35-
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&family=Noto+Sans+SC:wght@300;400;500;700;900&family=Orbitron:wght@700;900&display=swap" rel="stylesheet">
36-
<link rel="stylesheet" href="css/style.css?v=20260321l">
37-
<script>
38-
var _hmt = _hmt || [];
39-
(function() {
40-
var hm = document.createElement("script");
41-
hm.src = "https://hm.baidu.com/hm.js?b873527e8685653a23ed88324ba56f4d";
42-
var s = document.getElementsByTagName("script")[0];
43-
s.parentNode.insertBefore(hm, s);
44-
})();
45-
</script>
35+
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400&family=Noto+Sans+SC:wght@400;500;700;900&family=Orbitron:wght@700;900&display=swap" rel="stylesheet">
36+
<link rel="stylesheet" href="css/style.css?v=20260323a">
37+
<script>var _hmt=_hmt||[];window.addEventListener('load',function(){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?b873527e8685653a23ed88324ba56f4d";document.head.appendChild(hm)});</script>
4638
<!-- Google tag (gtag.js) -->
4739
<script async src="https://www.googletagmanager.com/gtag/js?id=G-GNDHG1PZLG"></script>
4840
<script>
@@ -107,7 +99,7 @@ <h1 data-i18n="genTitle">安装命令生成器</h1>
10799
</section>
108100
</div>
109101
<div id="footer"></div>
110-
<script src="js/shared.js?v=20260321l"></script>
102+
<script src="js/shared.js?v=20260323a"></script>
111103
<script>
112104
document.getElementById('nav').innerHTML = navHTML('generator');
113105
document.getElementById('footer').innerHTML = footerHTML();
@@ -348,6 +340,6 @@ <h1 data-i18n="genTitle">安装命令生成器</h1>
348340
if (currentLang !== 'zh') setLang(currentLang);
349341
</script>
350342
<script>if('serviceWorker' in navigator){navigator.serviceWorker.register('sw.js')}</script>
351-
<script src="js/search.js?v=20260321l"></script>
343+
<script defer src="js/search.js?v=20260323a"></script>
352344
</body>
353345
</html>

guides/1722500845915430912.html

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,13 @@
2222
<link rel="icon" href="../favicon.svg" type="image/svg+xml">
2323
<link rel="icon" href="../favicon-32x32.png" sizes="32x32" type="image/png">
2424
<link rel="apple-touch-icon" href="../apple-touch-icon.png">
25-
<link rel="manifest" href="../manifest.json?v=20260321l">
25+
<link rel="manifest" href="../manifest.json?v=20260323a">
2626
<link rel="preconnect" href="https://fonts.googleapis.com">
2727
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
28-
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&family=Noto+Sans+SC:wght@300;400;500;700;900&family=Orbitron:wght@700;900&display=swap" rel="stylesheet">
29-
<link rel="stylesheet" href="../css/style.css?v=20260321l">
30-
<link rel="stylesheet" href="guide.css?v=20260321l">
31-
<script>
32-
var _hmt = _hmt || [];
33-
(function() {
34-
var hm = document.createElement("script");
35-
hm.src = "https://hm.baidu.com/hm.js?b873527e8685653a23ed88324ba56f4d";
36-
var s = document.getElementsByTagName("script")[0];
37-
s.parentNode.insertBefore(hm, s);
38-
})();
39-
</script>
28+
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400&family=Noto+Sans+SC:wght@400;500;700;900&family=Orbitron:wght@700;900&display=swap" rel="stylesheet">
29+
<link rel="stylesheet" href="../css/style.css?v=20260323a">
30+
<link rel="stylesheet" href="guide.css?v=20260323a">
31+
<script>var _hmt=_hmt||[];window.addEventListener('load',function(){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?b873527e8685653a23ed88324ba56f4d";document.head.appendChild(hm)});</script>
4032
<!-- Google tag (gtag.js) -->
4133
<script async src="https://www.googletagmanager.com/gtag/js?id=G-GNDHG1PZLG"></script>
4234
<script>
@@ -860,12 +852,12 @@ <h2><a id="_754"></a>连接数据库</h2>
860852
</div>
861853
</article>
862854
<div id="footer"></div>
863-
<script src="../js/shared.js?v=20260321l"></script>
855+
<script src="../js/shared.js?v=20260323a"></script>
864856
<script>
865857
document.getElementById('nav').innerHTML = navHTML('compat');
866858
document.getElementById('footer').innerHTML = footerHTML();
867859
</script>
868860
<script>if('serviceWorker' in navigator){navigator.serviceWorker.register('../sw.js')}</script>
869-
<script src="../js/search.js?v=20260321l"></script>
861+
<script defer src="../js/search.js?v=20260323a"></script>
870862
</body>
871863
</html>

guides/1761982554933587968.html

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,13 @@
2222
<link rel="icon" href="../favicon.svg" type="image/svg+xml">
2323
<link rel="icon" href="../favicon-32x32.png" sizes="32x32" type="image/png">
2424
<link rel="apple-touch-icon" href="../apple-touch-icon.png">
25-
<link rel="manifest" href="../manifest.json?v=20260321l">
25+
<link rel="manifest" href="../manifest.json?v=20260323a">
2626
<link rel="preconnect" href="https://fonts.googleapis.com">
2727
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
28-
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&family=Noto+Sans+SC:wght@300;400;500;700;900&family=Orbitron:wght@700;900&display=swap" rel="stylesheet">
29-
<link rel="stylesheet" href="../css/style.css?v=20260321l">
30-
<link rel="stylesheet" href="guide.css?v=20260321l">
31-
<script>
32-
var _hmt = _hmt || [];
33-
(function() {
34-
var hm = document.createElement("script");
35-
hm.src = "https://hm.baidu.com/hm.js?b873527e8685653a23ed88324ba56f4d";
36-
var s = document.getElementsByTagName("script")[0];
37-
s.parentNode.insertBefore(hm, s);
38-
})();
39-
</script>
28+
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400&family=Noto+Sans+SC:wght@400;500;700;900&family=Orbitron:wght@700;900&display=swap" rel="stylesheet">
29+
<link rel="stylesheet" href="../css/style.css?v=20260323a">
30+
<link rel="stylesheet" href="guide.css?v=20260323a">
31+
<script>var _hmt=_hmt||[];window.addEventListener('load',function(){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?b873527e8685653a23ed88324ba56f4d";document.head.appendChild(hm)});</script>
4032
<!-- Google tag (gtag.js) -->
4133
<script async src="https://www.googletagmanager.com/gtag/js?id=G-GNDHG1PZLG"></script>
4234
<script>
@@ -841,12 +833,12 @@ <h2><a id="_741"></a>连接数据库</h2>
841833
</div>
842834
</article>
843835
<div id="footer"></div>
844-
<script src="../js/shared.js?v=20260321l"></script>
836+
<script src="../js/shared.js?v=20260323a"></script>
845837
<script>
846838
document.getElementById('nav').innerHTML = navHTML('compat');
847839
document.getElementById('footer').innerHTML = footerHTML();
848840
</script>
849841
<script>if('serviceWorker' in navigator){navigator.serviceWorker.register('../sw.js')}</script>
850-
<script src="../js/search.js?v=20260321l"></script>
842+
<script defer src="../js/search.js?v=20260323a"></script>
851843
</body>
852844
</html>

0 commit comments

Comments
 (0)