๐ŸšงImage with src "..." was detected as the Largest Contentful Paint (LCP).๐Ÿšง

ํ˜œํ˜œยท2023๋…„ 11์›” 27์ผ
0

Error Note

๋ชฉ๋ก ๋ณด๊ธฐ
11/19

โ—๋ฌธ์ œ ๋‚ด์šฉ

Next.js์—์„œ Image ํƒœ๊ทธ๋ฅผ ์‚ฌ์šฉํ•  ๋•Œ ๋‚˜ํƒ€๋‚œ ๊ฒฝ๊ณ . LCP๋Š” ๋ทฐํฌํŠธ์—์„œ ๊ฐ€์žฅ ํฐ ์ฝ˜ํ…์ธ  ์—˜๋ฆฌ๋ฉ˜ํŠธ๊ฐ€ ๋‚˜ํƒ€๋‚  ๋•Œ ์ธก์ •ํ•œ๋‹ค. ๊ฒฝ๊ณ ๋Š” ํ•ด๋‹น ์ด๋ฏธ์ง€๊ฐ€ ๊ฐ€์žฅ ํฐ ์ด๋ฏธ์ง€๋กœ ๊ฐ„์ฃผ๋˜์–ด์„œ priority ์†์„ฑ์„ ์ถ”๊ฐ€ํ•˜๋ผ๋Š” ๋œป์ธ ๊ฒƒ ๊ฐ™๋‹ค.

โš’๏ธ ๋ฌธ์ œ ํ•ด๊ฒฐ

<Image id="x-icon" src={x_icon} alt="๋‹ซ๊ธฐ ๋ฒ„ํŠผ" sizes='(max-width: 600px) 60vw' priority />

priority ์†์„ฑ์„ ์ถ”๊ฐ€ํ•˜๋ฉด ํ•ด๊ฒฐํ•  ์ˆ˜ ์žˆ๋‹ค. ๊ทผ๋ฐ Image ํƒœ๊ทธ์˜ ํ•„๋“œ๋“ค์— ๋Œ€ํ•œ ์ดํ•ด๊ฐ€ ๋ถ€์กฑํ•ด์„œ ๊ณต๋ถ€๊ฐ€ ํ•„์š”ํ•  ๊ฒƒ ๊ฐ™๋‹ค... ๐Ÿฅด

๐Ÿ™‡โ€โ™‚๏ธ ์ฐธ๊ณ ์ž๋ฃŒ

Image with src "/images/logo.png" was detected as the Largest Contentful Paint (LCP)
<Image>

profile
์‰ฝ๊ฒŒ๋งŒ์‚ด์•„๊ฐ€๋ฉด์žฌ๋ฏธ์—†์–ด๋น™๊ณ 

0๊ฐœ์˜ ๋Œ“๊ธ€