HTTP Caching
Introduction
Section titled “Introduction”HTTP caching reduces network requests and improves perceived performance.
Strategies
Section titled “Strategies”- In-memory: shareReplay(1) for same-page caching
- Interceptor cache: Map<url, CachedResponse> with TTL
- Browser cache: ETag/Last-Modified headers
- Service Worker: PWA offline caching
Summary
Section titled “Summary”Combine multiple caching strategies for optimal performance.”