http-requests
Installation
SKILL.md
Minimize HTTP requests
Each HTTP request incurs network overhead—DNS lookup, TCP connection, and TLS handshake add latency. Reducing requests significantly improves initial load time.
Quick Reference
- Each HTTP request adds latency (DNS, TCP, TLS handshakes)
- HTTP/2 multiplexing reduces but doesn't eliminate request overhead
- Bundle critical CSS/JS, use SVG sprites for icons
- Target under 50 requests for initial page load
Check
Count the number of HTTP requests this page makes and identify opportunities for reduction.
Fix
Reduce HTTP requests by combining files, using sprites, inlining critical resources, and implementing HTTP/2.