본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)75k · #2916

lazy-loading

하는 일

이 스킬은 페이지 아래쪽의 콘텐츠가 필요할 때만 로드되는지 확인합니다. 첫 페이지 로딩을 가볍게 하려는 개발자와 디자이너를 위한 것입니다.

사용하는 경우

  • ✓긴 페이지가 방문자가 스크롤하기 전에 모든 이미지를 로드할 때.
  • ✓임베드된 비디오나 지도가 페이지 시작 부분에서 로드될 때.
  • ✓페이지의 첫 로딩이 방문자가 보는 양보다 훨씬 많은 데이터를 내려받을 때.

스킬 링크

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/lazy-loading/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/lazy-loading/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 페이지 아래쪽 이미지에 지연 로딩을 설정해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 화면 아래에 나타나는 콘텐츠를 찾아, 네이티브 지연 로딩이나 Intersection Observer를 제안합니다. 페이지 상단의 중요한 이미지는 지연 로딩하지 않습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Implement lazy loading for offscreen content

Lazy loading defers non-critical resources until needed—this reduces initial page weight, speeds up first paint, and saves bandwidth for content users may never scroll to.

Quick Reference

  • Use loading='lazy' for images below the fold
  • Never lazy load LCP/above-fold images—they need priority
  • Lazy load iframes, videos, and heavy components
  • Use Intersection Observer for custom lazy loading
  • If fold position is unclear from the snippet, do not invent a lazy-loading defect

Check

Verify that images and other heavy resources below the fold are lazy loaded. Only report this when the code or route context makes offscreen placement clear.

Fix

Implement lazy loading for images, videos, and iframes using native loading='lazy' or JavaScript solutions.

Explain

Explain how lazy loading defers resource loading until needed, improving initial page load performance.

Code Review

Review the routes, assets, and loading behavior that affect Implement lazy loading for offscreen content. Flag exact files, requests, or rendering steps that add unnecessary network, CPU, or layout cost, and describe the measurement method used to confirm the issue.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/performance/lazy-loading

자주 묻는 질문

네이티브 지연 로딩이란 무엇인가요?

이미지나 프레임이 화면 가까이 올 때까지 로드를 미루는, 브라우저에 내장된 설정입니다.

무엇을 지연 로딩하면 안 되나요?

스킬은 페이지 상단의 가장 큰 콘텐츠 이미지는 절대 지연 로딩하지 말라고 설명합니다.

콘텐츠의 위치가 불분명하면 어떻게 하나요?

스킬은 코드상 위치가 분명하지 않으면 문제로 보고하지 말라고 설명합니다.

상세 정보

작성자의 원본 설명

Use when auditing slow page loads, heavy assets, or rendering delays related to Implement lazy loading for offscreen content. Verify the actual bottleneck in DevTools, Lighthouse, or field data before recommending changes. Absence of `loading='lazy'` is not enough by itself when fold position is unknown.

repo: thedaviddias/Front-End-Checklist

인기도

GitHub 스타
75k
순위
#2916
라이선스
MIT
업데이트
2026. 10. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬