界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

page-weight

page-weight

【数据与研究】Use when auditing slow page loads, heavy assets, or rendering delays related to Keep page weight under 1500KB. Verify the actual bottleneck in DevTools, Lighthouse, or field data before recommending changes.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: page-weight description: "Use when auditing slow page loads, heavy assets, or rendering delays related to Keep page weight under 1500KB. Verify the actual bottleneck in DevTools, Lighthouse, or field data before recommending changes." metadata: category: performance priority: high difficulty: beginner estimatedTime: "20" source: frontendchecklist.io url: https://frontendchecklist.io/rules/performance/page-weight

Keep page weight under 1500KB

Page weight directly correlates with load time—a 1.5MB page takes 3-5 seconds on 4G mobile. Every 100KB reduction improves user experience, especially on slower networks.

Quick Reference

  • Target under 500KB for optimal performance, max 1500KB
  • Images typically account for 50-70% of page weight
  • JavaScript bundles are often the second largest contributor
  • Monitor with performance budgets in CI/CD

Check

Analyze the total page weight including all resources. Check if it's under 1500KB (ideally under 500KB).

Fix

Optimize this page to reduce its total weight through image optimization, code minification, and removing unnecessary resources.

Explain

Explain how page weight impacts loading time, especially on mobile networks, and affects user experience.

Code Review

Review the routes, assets, and loading behavior that affect Keep page weight under 1500KB. 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/page-weight

我的收藏