Skip to content

⚡ Bolt: 이미지 최적화 개선 (LCP 고려 및 주석 반영)#63

Open
seonghobae wants to merge 1 commit into
mainfrom
bolt-performance-img-async-4638141701705964313
Open

⚡ Bolt: 이미지 최적화 개선 (LCP 고려 및 주석 반영)#63
seonghobae wants to merge 1 commit into
mainfrom
bolt-performance-img-async-4638141701705964313

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

💡 What:

  • 오프스크린 SVG 이미지 요소들에 decoding="async" 최적화를 주석과 함께 추가했습니다.
  • 히어로 이미지(LCP)는 가능한 가장 빨리 그려지도록 decoding="async"를 원복하여 동기적으로 처리되게 수정했습니다.

🎯 Why:

  • 이미지 디코딩으로 인한 메인 스레드 차단을 방지하기 위함입니다. SVG는 래스터 이미지처럼 디코딩되지 않고 파싱되므로 효과가 미미하지만 미래의 이미지 포맷 변경 시를 고려한 최적화입니다. LCP 이미지에는 페인트를 지연시키는 안티패턴을 피하기 위해 제거했습니다.

📊 Impact:

  • 백그라운드 스레드로 처리를 위임하여 약간의 로딩 속도 향상(향후 래스터 교체 시 더욱 뚜렷)이 예상되며, LCP는 방해받지 않습니다.

🔬 Measurement:

  • index.html 소스 확인 및 개발자 도구 성능 탭 분석을 통해 검증 가능합니다.

PR created automatically by Jules for task 4638141701705964313 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