Cache-Control
An HTTP header that specifies caching directives for requests and responses. Common directives include max-age (seconds until stale), no-cache (must revalidate), no-store (never cache), public (cacheable by any cache), and private (only cacheable by the browser). Proper cache-control is essential for performance and preventing stale content. Related status codes include 304 Not Modified.
Protocoles associés
Mentionné dans les guides
HTTP Caching: Cache-Control, ETags, and 304 Responses
HTTP Fundamentals
Essential HTTP Headers Every Developer Should Know
HTTP Fundamentals
Server-Sent Events (SSE) Implementation Guide
Real-Time Protocols
WebSocket vs Server-Sent Events: Choosing the Right Protocol
Real-Time Protocols
Graceful Degradation in Distributed Systems
Error Handling Patterns
Fallback Strategies: Default Values, Cached Responses, and Degraded Modes
Error Handling Patterns
HTTP Caching Strategy for APIs
Performance & Optimization
Reducing Time to First Byte (TTFB)
Performance & Optimization
CDN Caching Strategies: Edge Caching, Purging, and Cache Keys
Performance & Optimization
RFC 7231/9110: HTTP Method Semantics — Safe, Idempotent, and Cacheable
Protocol Deep Dives
Migrating from WebSocket to Server-Sent Events
Migration & Upgrades
CDN Configuration for Dynamic and Static Content
Production Infrastructure
Custom Error Pages: 404, 500, 502, and Maintenance Pages
Production Infrastructure
Scénarios associés
Défini dans
Guides de décision
Voir aussi
Status Code
HTTP Concepts
Conditional Request
HTTP Concepts
Proxy Server (Forward Proxy)
Networking
ETag (Entity Tag)
Caching & Performance
CDN (Content Delivery Network)
Caching & Performance
Stale-While-Revalidate
Caching & Performance
Cache Invalidation
Caching & Performance
Edge Caching
Caching & Performance
Last-Modified
Caching & Performance
Vary Header
Caching & Performance
Cache Busting
Caching & Performance
HTTP Caching Layers
Caching & Performance
Immutable Response
Caching & Performance
Service Worker Cache
Caching & Performance
Fallback
Error Handling
TTL (Time to Live)
DNS
Conditional Headers
Web Standards