Questenaتمرینی که نشان می‌دهد بعد چه چیزی را مرور کنید
سؤال 5

Under what conditions is a response to POST cacheable?

  1. Only when it includes explicit freshness information and a Content-Location field equal to the POST's target URIپاسخ درست
  2. Never; POST responses are excluded from caching entirely
  3. Whenever the response carries an ETag, since that permits later validation
  4. Whenever the response carries Cache-Control: public, regardless of other fields

توضیح

Both conditions are required together, and the resulting cached entry can then satisfy a later GET or HEAD. A subsequent POST can never be served from that entry, because POST is potentially unsafe.

ادامهٔ این آزمون

شروع تمرین
سؤال 5: Under what conditions is a response to POST cacheable? · HTTP Semantics · Questena