Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To maintain compatibility with a wide variety of browsers and proxies, Swarm implements the caching mechanisms for both HTTP/1.0 and HTTP/1.1.

Info

Note

Swarm returns a an HTTP 412 response if it cannot find the bucket or domain associated with a request. This can be distinguished from a cache response by the lack of the current ETag in the response headers and a response body that denotes that the bucket or domain cannot be located.

...

Info

Castor-System-Created deprecated

The Castor-System-Created header is deprecated, replaced with the more standard Last-Modified header. For backward compatibility with previously stored data, Swarm continues to generate both headers and behave operates as it does now if it encounters an object with a Castor-System-Created header, but without a Last-Modified header. If a stored object includes both headers, Swarm uses the value of the Last-Modified header. A future release ceases generating the deprecated header for newly-stored content.

...

An entity is not returned from the server if the requested object was not modified since the time specified in the If-Modified-Since header. Instead, a an HTTP 304 Not Modified response is returned without any message-body.

...