browser-caching
Installation
SKILL.md
Enable browser caching
Proper caching eliminates redundant downloads on repeat visits—returning users see near-instant page loads when assets are served from browser cache.
Quick Reference
- Use immutable caching for hashed assets (1 year max-age)
- Use short cache + revalidation for HTML pages
- ETags enable efficient cache validation
- stale-while-revalidate improves perceived performance
Check
Verify that proper cache headers are set for static resources to enable browser caching.
Fix
Configure appropriate Cache-Control and ETag headers for different resource types.