HTTP Caching interview questions

18 HTTP Caching questions from the Caching bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

1. What is Cache-Control?

Junior
  1. A.the HTTP header that directs how, where, and for how long a response may be stored by clients and intermediaries
  2. B.a response header giving the timestamp a resource last changed, used for validation against a stored copy
  3. C.a directive that overrides max-age specifically for shared intermediaries like CDNs while leaving browser lifetime unchanged
  4. D.the directive specifying, in seconds, how long a response is considered fresh before it must be revalidated

Answer + AI explanation with Pro

2. Which term means: "the HTTP header that directs how, where, and for how long a response may be stored by clients and intermediaries"?

Junior
  1. A.Conditional request
  2. B.Cache-Control
  3. C.ETag
  4. D.s-maxage

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.Cache-Control — an opaque identifier a server assigns to a resource version so clients can ask whether their copy is still current
  2. B.Cache-Control — a directive that overrides max-age specifically for shared intermediaries like CDNs while leaving browser lifetime unchanged
  3. C.Cache-Control — the directive specifying, in seconds, how long a response is considered fresh before it must be revalidated
  4. D.Cache-Control — the HTTP header that directs how, where, and for how long a response may be stored by clients and intermediaries

Answer + AI explanation with Pro

4. What is ETag?

Mid
  1. A.the directive specifying, in seconds, how long a response is considered fresh before it must be revalidated
  2. B.the HTTP header that directs how, where, and for how long a response may be stored by clients and intermediaries
  3. C.an opaque identifier a server assigns to a resource version so clients can ask whether their copy is still current
  4. D.a directive that overrides max-age specifically for shared intermediaries like CDNs while leaving browser lifetime unchanged

Answer + AI explanation with Pro

5. Which term means: "an opaque identifier a server assigns to a resource version so clients can ask whether their copy is still current"?

Mid
  1. A.ETag
  2. B.Conditional request
  3. C.Last-Modified
  4. D.max-age

Answer + AI explanation with Pro

6. Which statement is correct?

Mid
  1. A.ETag — a directive that overrides max-age specifically for shared intermediaries like CDNs while leaving browser lifetime unchanged
  2. B.ETag — a response header giving the timestamp a resource last changed, used for validation against a stored copy
  3. C.ETag — the HTTP header that directs how, where, and for how long a response may be stored by clients and intermediaries
  4. D.ETag — an opaque identifier a server assigns to a resource version so clients can ask whether their copy is still current

Answer + AI explanation with Pro

7. What is Last-Modified?

Mid
  1. A.a directive that overrides max-age specifically for shared intermediaries like CDNs while leaving browser lifetime unchanged
  2. B.a fetch that includes a validator so the server returns 304 Not Modified when the client's copy is still fresh
  3. C.a response header giving the timestamp a resource last changed, used for validation against a stored copy
  4. D.the directive specifying, in seconds, how long a response is considered fresh before it must be revalidated

Answer + AI explanation with Pro

8. Which term means: "a response header giving the timestamp a resource last changed, used for validation against a stored copy"?

Mid
  1. A.Cache-Control
  2. B.max-age
  3. C.s-maxage
  4. D.Last-Modified

Answer + AI explanation with Pro

9. Which statement is correct?

Mid
  1. A.Last-Modified — an opaque identifier a server assigns to a resource version so clients can ask whether their copy is still current
  2. B.Last-Modified — a fetch that includes a validator so the server returns 304 Not Modified when the client's copy is still fresh
  3. C.Last-Modified — a directive that overrides max-age specifically for shared intermediaries like CDNs while leaving browser lifetime unchanged
  4. D.Last-Modified — a response header giving the timestamp a resource last changed, used for validation against a stored copy

Answer + AI explanation with Pro

10. What is Conditional request?

Mid
  1. A.a directive that overrides max-age specifically for shared intermediaries like CDNs while leaving browser lifetime unchanged
  2. B.a fetch that includes a validator so the server returns 304 Not Modified when the client's copy is still fresh
  3. C.a response header giving the timestamp a resource last changed, used for validation against a stored copy
  4. D.the HTTP header that directs how, where, and for how long a response may be stored by clients and intermediaries

Answer + AI explanation with Pro

11. Which term means: "a fetch that includes a validator so the server returns 304 Not Modified when the client's copy is still fresh"?

Mid
  1. A.Conditional request
  2. B.s-maxage
  3. C.max-age
  4. D.ETag

Answer + AI explanation with Pro

12. Which statement is correct?

Mid
  1. A.Conditional request — a fetch that includes a validator so the server returns 304 Not Modified when the client's copy is still fresh
  2. B.Conditional request — an opaque identifier a server assigns to a resource version so clients can ask whether their copy is still current
  3. C.Conditional request — the HTTP header that directs how, where, and for how long a response may be stored by clients and intermediaries
  4. D.Conditional request — a response header giving the timestamp a resource last changed, used for validation against a stored copy

Answer + AI explanation with Pro

13. What is s-maxage?

Senior
  1. A.a directive that overrides max-age specifically for shared intermediaries like CDNs while leaving browser lifetime unchanged
  2. B.the HTTP header that directs how, where, and for how long a response may be stored by clients and intermediaries
  3. C.a response header giving the timestamp a resource last changed, used for validation against a stored copy
  4. D.the directive specifying, in seconds, how long a response is considered fresh before it must be revalidated

Answer + AI explanation with Pro

14. Which term means: "a directive that overrides max-age specifically for shared intermediaries like CDNs while leaving browser lifetime unchanged"?

Senior
  1. A.ETag
  2. B.s-maxage
  3. C.Cache-Control
  4. D.Conditional request

Answer + AI explanation with Pro

15. Which statement is correct?

Senior
  1. A.s-maxage — a directive that overrides max-age specifically for shared intermediaries like CDNs while leaving browser lifetime unchanged
  2. B.s-maxage — the HTTP header that directs how, where, and for how long a response may be stored by clients and intermediaries
  3. C.s-maxage — a response header giving the timestamp a resource last changed, used for validation against a stored copy
  4. D.s-maxage — an opaque identifier a server assigns to a resource version so clients can ask whether their copy is still current

Answer + AI explanation with Pro

16. What is max-age?

Mid
  1. A.an opaque identifier a server assigns to a resource version so clients can ask whether their copy is still current
  2. B.a fetch that includes a validator so the server returns 304 Not Modified when the client's copy is still fresh
  3. C.the directive specifying, in seconds, how long a response is considered fresh before it must be revalidated
  4. D.the HTTP header that directs how, where, and for how long a response may be stored by clients and intermediaries

Answer + AI explanation with Pro

17. Which term means: "the directive specifying, in seconds, how long a response is considered fresh before it must be revalidated"?

Mid
  1. A.max-age
  2. B.Last-Modified
  3. C.ETag
  4. D.s-maxage

Answer + AI explanation with Pro

18. Which statement is correct?

Mid
  1. A.max-age — a response header giving the timestamp a resource last changed, used for validation against a stored copy
  2. B.max-age — a directive that overrides max-age specifically for shared intermediaries like CDNs while leaving browser lifetime unchanged
  3. C.max-age — an opaque identifier a server assigns to a resource version so clients can ask whether their copy is still current
  4. D.max-age — the directive specifying, in seconds, how long a response is considered fresh before it must be revalidated

Answer + AI explanation with Pro

Free to start

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every HTTP Caching question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers