Explain the difference between the Cache-Control directives no-cache and no-store.

Last updated 29 June 2026

  • no-store forbids keeping any copy of the response. Use it for sensitive data like banking or personal info.

  • no-cache allows storing but requires revalidation (via ETag or Last-Modified) before reuse. This enables cheap 304 responses with guaranteed freshness.

  • Despite its name, no-cache means "don't use without checking," not "don't cache."

  • https://www.sendowl.com/s/job-search
  • https://www.ashokit.in/blog/top-microservices-interview-questions-and-answers
  • https://www.resumeadapter.com/blog/full-stack-developer-resume-keywords
  • https://meduzzen.com/hire/backend-developers/
  • https://www.greatfrontend.com/blog/latest
  • https://prepfully.com/interview-guides/hubspot-software-engineer
  • https://www.getsmartresume.com/article/netflix-internship-new-grad-opportunities
All REST API interview questions