W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2010

[whatwg] element "img" with HTTP POST method

From: Martin Janecke <whatwg.org@kaor.in>
Date: Fri, 10 Dec 2010 11:42:26 +0100
Message-ID: <B0D1A3CE-9485-4C3E-98FB-847FF61C33B2@kaor.in>
Am 09.12.2010 um 20:04 schrieb Ashley Sheridan:

> [...] If
> images are called with POST data, then that would prevent them being
> cached, which can be done with GET as GET isn't meant to change any
> state on the server, meaning potentially a lot more traffic [...]

As I understand http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5 POST data can be cached, if "the response includes appropriate Cache-Control or Expires header fields". If reducing traffic is in the interest of the provider of the image service (and it will almost always be), they'll use such headers, I think.
Received on Friday, 10 December 2010 02:42:26 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:02 UTC