From a42e65df0d34ec50d7a738d4adde22847fb31f58 Mon Sep 17 00:00:00 2001 From: seonghobae <8172694+seonghobae@users.noreply.github.com> Date: Wed, 22 Jul 2026 14:16:17 +0000 Subject: [PATCH] =?UTF-8?q?=EC=84=B1=EB=8A=A5=20=EA=B0=9C=EC=84=A0:=20SVG?= =?UTF-8?q?=20=EC=9D=B4=EB=AF=B8=EC=A7=80=EC=9D=98=20decoding=3D"async"=20?= =?UTF-8?q?=EC=86=8D=EC=84=B1=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .jules/bolt.md | 4 ++++ index.html | 14 +++++++++----- tests/test_styles.py | 2 +- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.jules/bolt.md b/.jules/bolt.md index c10fb9b..d9339cb 100644 --- a/.jules/bolt.md +++ b/.jules/bolt.md @@ -12,3 +12,7 @@ ## 2026-07-10 - Remove unnecessary DOMPurify for performance **Learning:** 애플리케이션이 `textContent`와 같은 안전한 DOM API만 사용하고 `innerHTML` 등의 위험한 싱크를 사용하지 않는다면 DOMPurify와 같은 라이브러리를 통해 Trusted Types 정책을 생성할 필요가 없음. **Action:** 불필요한 번들 다운로드 및 스크립트 실행을 방지하기 위해 사용하지 않는 라이브러리를 식별하고 제거할 것. + +## 2024-07-22 - SVG 및 LCP 이미지에 대한 decoding="async" 지연 성능 이슈 +**Learning:** SVG 이미지나 LCP(Largest Contentful Paint)에 중요한 이미지에 `decoding="async"` 속성을 부여하면 브라우저의 렌더링이 지연되어 오히려 초기 화면 표시 성능이 저하될 수 있습니다. +**Action:** SVG나 중요 렌더링 경로에 있는 이미지에는 `decoding="async"`를 제거하여 성능을 최적화합니다. diff --git a/index.html b/index.html index c40fea3..25f9aa7 100644 --- a/index.html +++ b/index.html @@ -29,7 +29,8 @@