[whatwg] element "img" with HTTP POST method

Martin Janecke whatwg.org at kaor.in
Fri Dec 10 02:42:26 PST 2010

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.

More information about the whatwg mailing list