웹 글꼴을 글자 범위별 분할본으로 바꾸고 2MB 미리 받기를 제거
첫 접속 때 PretendardVariable.woff2(2,057,688 bytes)를 최우선으로 받던 것을 Pretendard Variable 공식 92분할본(unicode-range)으로 바꿔 로그인 화면 글꼴 전송량을 208,336 bytes로 줄인다. 글꼴 이름·굵기 범위·font-display는 그대로이고 옛 전체 글꼴 파일은 이전 세대 CSS 참조 때문에 남긴다.
This commit is contained in:
parent
7b380f752e
commit
5c5b66d0f6
96 changed files with 938 additions and 20 deletions
|
|
@ -61,14 +61,8 @@
|
|||
<!-- 본문/UI 기본 폰트: Pretendard Variable (DESIGN_CONCEPT §3.6) -->
|
||||
<!-- self-host 로 전환했다. jsDelivr 렌더 블로킹 스타일시트와 그에 딸린
|
||||
preconnect/dns-prefetch 를 제거해 외부 요청을 0으로 만들었다.
|
||||
@font-face 선언은 src/styles/tokens.css 최상단에 있다. -->
|
||||
<link
|
||||
rel="preload"
|
||||
as="font"
|
||||
type="font/woff2"
|
||||
href="/fonts/PretendardVariable.woff2"
|
||||
crossorigin
|
||||
/>
|
||||
글자 범위별 92분할본(src/styles/fonts.css)으로 바꾸면서 전체 글꼴
|
||||
preload 는 제거했다 — 첫 화면에 실제 쓰이는 범위만 지연 요청된다. -->
|
||||
<script>
|
||||
(function () {
|
||||
var errors = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue