DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
API Development Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
API Development
What's the difference between max-age and s-maxage in a Cache-Control header?
A
They are identical, s-maxage is just a deprecated alias
B
max-age applies to private/browser caches; s-maxage specifically overrides the freshness window for SHARED caches like CDNs
C
s-maxage only applies to POST requests
D
max-age is measured in minutes, s-maxage in seconds
Check Answer