page-weight
Installation
SKILL.md
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.