Skip to content

⚡ Bolt: SVG 및 중요 이미지의 불필요한 비동기 디코딩 제거#89

Open
seonghobae wants to merge 1 commit into
mainfrom
jules-14326380432908034321-173132e6
Open

⚡ Bolt: SVG 및 중요 이미지의 불필요한 비동기 디코딩 제거#89
seonghobae wants to merge 1 commit into
mainfrom
jules-14326380432908034321-173132e6

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

💡 What

index.html 내의 모든 SVG 이미지(.svg)와 LCP 대상(히어로 영역) 이미지에서 decoding="async" 속성을 제거했습니다.

🎯 Why

SVG 이미지는 픽셀 데이터로 디코딩(decode)되는 것이 아니라 XML로 파싱(parse)되므로 decoding 속성이 무의미합니다. 또한 중요 렌더링 경로에 있는 이미지(예: 로고나 히어로 영역 이미지)에 비동기 디코딩을 적용하면, 브라우저가 첫 화면을 그리는 시점이 지연되어 초기 로딩 성능(LCP)이 저하될 수 있기 때문입니다.

📊 Impact

  • 의미 없는 파싱 오버헤드 감소
  • SVG 및 중요 이미지의 동기적 렌더링 보장으로 체감 로딩 속도 향상

🔬 Measurement

python3 -m pytest tests/test_styles.py 명령어를 통해 test_images_decode_without_blocking_rendering 테스트가 성공적으로 통과함을 확인할 수 있습니다.


PR created automatically by Jules for task 14326380432908034321 started by @seonghobae

@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant