From 56f9aecf775dae856eb53f6e300929554d2328d3 Mon Sep 17 00:00:00 2001 From: Hyungi Ahn Date: Fri, 1 May 2026 08:02:10 +0900 Subject: [PATCH] =?UTF-8?q?refactor(study):=20SvelteKit=20hover=20?= =?UTF-8?q?=EC=8B=9C=20=EB=9D=BC=EC=9A=B0=ED=8A=B8=20=EC=BD=94=EB=93=9C/?= =?UTF-8?q?=EB=8D=B0=EC=9D=B4=ED=84=B0=20prefetch=20=ED=99=9C=EC=84=B1?= =?UTF-8?q?=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 처음 문제 진입 시 KaTeX + marked + DOMPurify 등 무거운 chunk 가 lazy load 되어 느림. 다음/이전 버튼은 같은 번들 재사용이라 빠름. 카드 hover 시점에 prefetch 시작 → 클릭 시점엔 이미 파싱 완료된 상태. app.html body 에 data-sveltekit-preload-code/data="hover" 추가 (전역). Co-Authored-By: Claude Opus 4.7 (1M context) --- frontend/src/app.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/app.html b/frontend/src/app.html index ae7140e..0d164f6 100644 --- a/frontend/src/app.html +++ b/frontend/src/app.html @@ -11,7 +11,10 @@ hyungi Document Server %sveltekit.head% - + +
%sveltekit.body%