Skip to content
CodeKruPro

When does a server return 304 Not Modified?

QuizMedium

When does a server answer 304 Not Modified?

  • For a conditional GET or HEAD (the client asks "send it only if it changed"), for example with If-None-Match holding the ETag (a version tag) the client already has, when the resource has not changed
  • When a PUT made no changes to the resource
  • When the resource has moved to a new URL
  • When the server is under maintenance

This question is part of Pro+

Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.

See Pro+

Already have Pro+? Sign in