⚡ Bolt: SVG 및 중요 이미지의 불필요한 비동기 디코딩 제거#89
Conversation
|
👋 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 New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
💡 What
index.html내의 모든 SVG 이미지(.svg)와 LCP 대상(히어로 영역) 이미지에서decoding="async"속성을 제거했습니다.🎯 Why
SVG 이미지는 픽셀 데이터로 디코딩(decode)되는 것이 아니라 XML로 파싱(parse)되므로
decoding속성이 무의미합니다. 또한 중요 렌더링 경로에 있는 이미지(예: 로고나 히어로 영역 이미지)에 비동기 디코딩을 적용하면, 브라우저가 첫 화면을 그리는 시점이 지연되어 초기 로딩 성능(LCP)이 저하될 수 있기 때문입니다.📊 Impact
🔬 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