CS FundamentalsHardGATE CS · Product company CS fundamentals

Which Cache-Control directive lets a cache store the response but requires it to revalidate with the origin server before every reuse?

  1. A. no-store
  2. B. no-cache
  3. C. max-age=0, immutable
  4. D. public

Correct answer: B. no-cache

Despite its name, no-cache permits storing but forbids using the copy without a successful revalidation (e.g. a conditional GET returning 304). no-store forbids storing at all; public merely allows shared caches to store it.

More Computer Networks questions

Exams that ask this topic