11.07.2015 Views

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

- DELETE- POSTIn order to prevent denial of service attacks, an invalidation basedon the URI in a Location or Content-Location header MUST only beper<strong>for</strong>med if the host part is the same as in the <strong>Request</strong>-URI.A cache that passes through requests <strong>for</strong> methods it does notunderstand SHOULD invalidate any entities referred to by the<strong>Request</strong>-URI.13.11 Write-Through MandatoryAll methods that might be expected to cause modifications to theorigin server's resources MUST be written through to the originserver. This currently includes all methods except <strong>for</strong> GET and HEAD.A cache MUST NOT reply to such a request from a client be<strong>for</strong>e havingtransmitted the request to the inbound server, and having received acorresponding response from the inbound server. This does not preventa proxy cache from sending a 100 (Continue) response be<strong>for</strong>e theinbound server has sent its final reply.The alternative (known as "write-back" or "copy-back" caching) is notallowed in HTTP/1.1, due to the difficulty of providing consistentupdates and the problems arising from server, cache, or networkfailure prior to write-back.<strong>Fielding</strong>, et al. Standards Track [Page 98]RFC <strong>2616</strong> HTTP/1.1 June 199913.12 Cache ReplacementIf a new cacheable (see sections 14.9.2, 13.2.5, 13.2.6 and 13.8)response is received from a resource while any existing responses <strong>for</strong>the same resource are cached, the cache SHOULD use the new responseto reply to the current request. It MAY insert it into cache storageand MAY, if it meets all other requirements, use it to respond to anyfuture requests that would previously have caused the old response tobe returned. If it inserts the new response into cache storage therules in section 13.5.3 apply.Note: a new response that has an older Date header value thanexisting cached responses is not cacheable.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!