Interview Prep/Networking/HTTP, TLS & Certificates

What are HTTP caching headers?

IntermediateConceptHTTP, TLS & Certificates
Answer

Cache-Control (max-age, s-maxage, no-store, no-cache, private, public, immutable), ETag and Last-Modified with conditional requests (If-None-Match, If-Modified-Since) answered by 304, and Vary which declares which request headers create separate cache entries.

Static assets with hashed filenames: Cache-Control: public, max-age=31536000, immutable. HTML: short max-age or no-cache with ETag. no-cache still stores, it only forces revalidation.

All Networking questions Roadmap: Networking for DevOps

More on HTTP, TLS & Certificates