{"data":{"slug":"github-thedaviddias-front-end-checklist-skills-lazy-loading-6157d78b3c5f","title":"Implement Lazy Loading for Offscreen Content","summary":"Optimize page load performance by deferring non-critical resources such as images, videos, and iframes below the fold until they are needed, reducing initial page weight and improving user experience.","url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-lazy-loading-6157d78b3c5f","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-thedaviddias-front-end-checklist-skills-lazy-loading-6157d78b3c5f","markdown_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-lazy-loading-6157d78b3c5f.md","download_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-lazy-loading-6157d78b3c5f\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"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.","instructions":"---\nname: lazy-loading\ndescription: \"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.\"\nmetadata:\n  category: performance\n  priority: high\n  difficulty: beginner\n  estimatedTime: \"15\"\n  source: frontendchecklist.io\n  url: https:\/\/frontendchecklist.io\/rules\/performance\/lazy-loading\n---\n\n# Implement lazy loading for offscreen content\n\nLazy loading defers non-critical resources until needed\u2014this reduces initial page weight, speeds up first paint, and saves bandwidth for content users may never scroll to.\n\n## Quick Reference\n\n- Use loading='lazy' for images below the fold\n- Never lazy load LCP\/above-fold images\u2014they need priority\n- Lazy load iframes, videos, and heavy components\n- Use Intersection Observer for custom lazy loading\n- If fold position is unclear from the snippet, do not invent a lazy-loading defect\n\n## Check\n\nVerify 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.\n\n## Fix\n\nImplement lazy loading for images, videos, and iframes using native loading='lazy' or JavaScript solutions.\n\n## Explain\n\nExplain how lazy loading defers resource loading until needed, improving initial page load performance.\n\n## Code Review\n\nReview 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.\n\n---\n\nFor full implementation details, code examples, and framework-specific guidance,\nsee `references\/rule.md`.\n\nRule page: https:\/\/frontendchecklist.io\/rules\/performance\/lazy-loading\n","use_cases":["Audit slow page loads and heavy assets","Optimize rendering delays for offscreen content","Reduce initial page weight and bandwidth usage"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/thedaviddias\/Front-End-Checklist\/blob\/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e\/skills\/lazy-loading\/SKILL.md","source_commit":"e8d14d049010e2ce25afcd5e8609dfcbbe63e47e","license":null,"version":null,"listing_approved_at":"2026-11-23","created_at":"2026-11-22T16:52:09.000000Z","updated_at":"2026-11-23T04:55:22.000000Z","seo_title":"Implement lazy loading for offscreen content","seo_description":"Improve page load performance by deferring non-critical resources. Use lazy loading for images, videos, and iframes below the fold.","seo_keywords":["lazy loading optimization","offscreen content loading","improve page performance","reduce initial load weight"]}}