Daily Developer Debug
One practical bug, API behavior, or security decision. Choose an answer, read the reasoning, and build a local streak—no signup required.
Challenge
#339
Next puzzle
--:--:--
A successful request that should not be cached
Which response header best prevents a browser from storing a sensitive authenticated response?
HTTP/1.1 200 OK
Content-Type: application/json
{"account":"private"}
Choose one answer
Cache-Control: no-store instructs caches not to store the response. Request headers such as Accept do not provide that protection.
Key takeaway
Sensitive responses need explicit cache policy, not just authentication.
Why practice debugging?
Writing code and reviewing code are different skills. Short debugging exercises help developers slow down, predict behavior, recognize unsafe assumptions, and select tests that distinguish a correct implementation from a plausible-looking mistake. These challenges are educational examples—not a substitute for your language runtime, project tests, official specifications, or security review.